delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/22/17:11:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4CEAEA70.6030205@bopp.net>
Date: Mon, 22 Nov 2010 16:10:56 -0600
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.5: fixing git damage
References: <27D7F4C907BCB14FAF95CC4E25AB1FE6012C77E7 AT ex2 DOT AdBriteInc DOT local>
In-Reply-To: <27D7F4C907BCB14FAF95CC4E25AB1FE6012C77E7@ex2.AdBriteInc.local>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 11/22/2010 4:06 PM, Bill Ross wrote:
> 
> 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

It looks like you might have that spreadsheet opened in Excel.  Make
sure the file is not open under any program.  Then you should be able to
move or delete it.

-Jeremy

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019