1.7.5: fixing git damage

Bill Ross bross@adbrite.com
Mon Nov 22 22:10:00 GMT 2010


I just tried this sequence with my cygwin git:

$ git checkout master
$ git pull
$ git checkout my_branch
error: Untracked working tree file
'java/api_client/test/xls/qa2/QA2WWWKeyword.xls' would be overwritten by
merge.
$ git --version
git version 1.7.1
-bash-3.2$ git status
# On branch master
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       test/xls/qa2/QA2WWWKeyword.xls

*** What I am looking for is a solution to this:

-bash-3.2$ mv test/xls/qa2/QA2WWWKeyword.xls /cygdrive/c/tmp
mv: cannot move `test/xls/qa2/QA2WWWKeyword.xls' to
`/cygdrive/c/tmp/QA2WWWKeyword.xls': Device or resource busy
-bash-3.2$ rm test/xls/qa2/QA2WWWKeyword.xls
rm: cannot remove `test/xls/qa2/QA2WWWKeyword.xls': Device or resource
busy

The file is on the C drive.

Bill

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 65625 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20101122/759c7323/attachment.obj>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list