git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* problem switching branches
@ 2013-02-26 23:08 J.V.
  2013-02-27  5:17 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: J.V. @ 2013-02-26 23:08 UTC (permalink / raw)
  To: git@vger.kernel.org

I was on my master branch, I then checked out a branch ( 
origin/somebranch ), made no updates
but did a few git pulls on the branch over about a week; then made a 
small change to only a single file & committed & pushed.

Now am trying to go back to my master branch and get:

error: The following untracked working tree files would be overwritten 
by checkout:
         lib/derbyclient.jar
Please move or remove them before you can switch branches.
Aborting


I did not put that jar file there (I edited a single config file), how 
do I now get back to my master branch?

I do not want to muck up the branch that I am now on by deleting anything.
Any ideas how this happened?

Obviously someone put derbyclient.jar there, not sure, but it is
supposed to be there so do not want to remove as advised.

any ideas on how I can get back to my master branch and get out of this?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-01 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-26 23:08 problem switching branches J.V.
2013-02-27  5:17 ` Jeff King
2013-03-01 20:52   ` J.V.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).