git/list[1] front-page[2] threads[3] people[4] search[5] about
 

problem using git on cygwin

From
SVsrinivas naga vutukuri <srinivas.vutukuri@gmail.com>
Date
Apr 30, 2007, 06:25 UTC
Message-ID
<ace3f33d0704292325t6ab16075rbdeac40a437920e8@mail.gmail.com>
Hi,
 Am completely new to git, and following from the tutorial, to use git
for my project.
 Using git version 1.5.0.3 on cygwin (available on packages).
I am able to do the steps.
1. git init on my source
2. git add .
3. git commit

After that, a new file is created for the project and after editing the file. am trying to put into the souce.

since it is a new file for my project git repository, am trying to add it but end up with errors as follows.

$ git add project/test.c error: bad index file sha1 signature fatal: index file corrupt

could you please help me, what am doing wrong?

best regards, srinivas.

Next: Johannes Schindelin
Message 1 of 5 in “problem using git on cygwin”
  1. srinivas naga vutukuriApr 30, 2007
  2. Johannes SchindelinApr 30, 2007
  3. srinivas naga vutukuriMay 2, 2007
  4. Jari AaltoMay 2, 2007
  5. Alex RiesenMay 2, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.