Git development
 help / color / mirror / Atom feed
From: "Joan Ripoll Balaguer" <joan.ripsa@gmail.com>
To: git@vger.kernel.org
Subject: checkout Error on cygwin
Date: Tue, 17 Apr 2007 15:08:12 +0200	[thread overview]
Message-ID: <5c08a49c0704170608s4f643bf6ubc53d521149f2d55@mail.gmail.com> (raw)

$ 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

             reply	other threads:[~2007-04-17 13:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-17 13:08 Joan Ripoll Balaguer [this message]
2007-04-17 13:11 ` checkout Error on cygwin Joan Ripoll Balaguer
2007-04-17 15:15 ` Alex Riesen

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=5c08a49c0704170608s4f643bf6ubc53d521149f2d55@mail.gmail.com \
    --to=joan.ripsa@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