From: Junio C Hamano Date: Fri, 07 Jul 2017 15:53:39 GMT Subject: Re: bug during checkout of remote branch and uncommited changes ? Message-ID: In-Reply-To: <20170707123727.dgd5rub2ycrg525y@ltop.local> Luc Van Oostenryck writes: > $ git reset --hard > patching file afile.c Is that a message from something? It does not sound like something "git reset --hard" would say. > $ git co > fatal: Not tracking: ambiguous information for ref refs/remotes// > > What can be ambiguous here? I think the message "Not tracking" is given when there is a remote other than that also has . Between the time you got the message and the time you tried to checkout , did anything happen to cause the second attempt succeed? > Strangely, trying a second time, succeed: > $ git co > Previous HEAD position was ... > Switched to branch '' > > -- Luc Van Oostenryck