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

checkout Error on cygwin

From
JBJoan Ripoll Balaguer <joan.ripsa@gmail.com>
Date
Apr 17, 2007, 13:08 UTC
Message-ID
<5c08a49c0704170608s4f643bf6ubc53d521149f2d55@mail.gmail.com>

$ git version git version 1.5.1.1.135.gf948

$ git status # On branch cajal/20070201 nothing to commit (working directory clean)

$ git checkout master
      6 [main] git-read-tree 2640
C:\cygwin\usr\local\bin\git-read-tree.exe: *** fatal error - could not
load shell32, Win32 error 487
Then:
$ git status
# On branch cajal/20070201
# Changed but not updated:
#   (use "git add/rm <file>..." to update what will be committed)
 (A lot of files)
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
 (A lot of files)
Now I would have an clean status:

$ git reset --hard HEAD fatal: unable to create '.git/index.lock': File exists

$ rm .git/index.lock
$ git reset --hard HEAD

$ git status # On branch cajal/20070201 # Untracked files: # (use "git add <file>..." to include in what will be committed) # (A lot of files) nothing added to commit but untracked files present (use "git add" to track)

$ git clean -x Removing ... (a lot of files)

Any suggestion?
-- 
Joan Ripoll
joan.ripsa@gmail.com
Next: Joan Ripoll Balaguer
Message 1 of 3 in “checkout Error on cygwin”
  1. Joan Ripoll BalaguerApr 17, 2007
  2. Joan Ripoll BalaguerApr 17, 2007
  3. Alex RiesenApr 17, 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.