Sorry. I need to stop posting from my tablet. I didn't see ur entire message. I don't know what ur real error, shown later, is. The message seems familiar trom other posts here about Cygwin and git. U might review some via the web interface.
On Sunday, December 2, 2012 9:14:15 AM UTC-6, John McKown wrote: > > Ur fine. You need to do something first. What I do is: > > echo x>x > git add x > git commit -m 'init dir' > git rm x > git commit -m 'remove file x' > > You can then look at the log. > On Dec 1, 2012 4:49 PM, "munene kiruja" <[email protected]> wrote: > >> Git already came in with the cygwin install. So I thought I could just >> start using it. After 2 days of reading and searching, not even one step >> ahead. Anyone help. What am I doing wrong? >> >> :; git --version >> git version 1.7.9 >> >> mkdir ~/dev/testGit >> cd ~/dev/testGit >> git init >> Initialized empty Git repository in /home/dev/testGit/.git/ >> >> now the trouble: >> :; git log >> fatal: bad default revision 'HEAD' >> >> What have I already missed? >> >> :; cat > foo.txt >> this is a test >> ^C >> >> :; git add . >> fatal: cannot use .git/info/exclude as an exclude file >> >> So I just hide the file >> >> :; mv .git/info/exclude .git/info/exclude.bak >> :; git add . >> >> :; git status >> # On branch master >> # >> # Initial commit >> # >> # Changes to be committed: >> # (use "git rm --cached <file>..." to unstage) >> # >> # new file: foo.txt >> # >> >> :; git commit -a >> error: bad index file sha1 signature >> fatal: index file corrupt >> >> -- >> >> >> > --
