From: Albert Strasheim <fullung@gmail.com>
To: git@vger.kernel.org
Subject: Versioning configuration files on a server: fatal: Unable to create '//etc/.git/index.lock': No such file or directory
Date: Wed, 17 Nov 2010 08:24:04 +0200 [thread overview]
Message-ID: <AANLkTi=UPWTeZP9uF+FGtsSs7wH3AmwdeLtsPJQnKvez@mail.gmail.com> (raw)
Hello all
I'm trying to use git to version all the configuration files on a server:
su
cd /
git init
cd /
touch k
git add k #this works
cd /etc
git add hosts
This fails with:
fatal: Unable to create '//etc/.git/index.lock': No such file or directory
I'm running git-1.7.3.2-1.fc14.x86_64.
Is there any way to convince git to work in this scenario?
Regards
Albert
next reply other threads:[~2010-11-17 6:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-17 6:24 Albert Strasheim [this message]
2010-11-17 11:20 ` Versioning configuration files on a server: fatal: Unable to create '//etc/.git/index.lock': No such file or directory Matthijs Kooijman
2010-11-18 15:52 ` Matthijs Kooijman
2010-11-18 16:00 ` Santi Béjar
2010-11-18 16:07 ` Nguyen Thai Ngoc Duy
2010-11-18 16:26 ` Nguyen Thai Ngoc Duy
2010-11-18 17:17 ` Matthijs Kooijman
2010-11-18 20:36 ` Matthijs Kooijman
-- strict thread matches above, loose matches on Subject: below --
2010-11-24 8:01 Ilyas --
2010-11-24 8:45 ` Nguyen Thai Ngoc Duy
2010-11-24 8:50 ` Matthijs Kooijman
2010-11-24 9:46 ` Ilyas --
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=UPWTeZP9uF+FGtsSs7wH3AmwdeLtsPJQnKvez@mail.gmail.com' \
--to=fullung@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).