Re: git checkout and pwd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Dlugosz, 08.04.2009:
> On a Windows system running msysgit, I entered the command:
> 
> 	git checkout -b -l jmd/mt_queue
> 
> and got a reply of: 
> fatal: git checkout: updating paths is incompatible with switching
> branches.
> Did you intend to checkout 'compile.vc8/Win32/release/jmd/mt_queue'
> which can not be resolved as commit?

>From the documentation: [-b <new_branch> [-l]]
The new branch has to follow the -b option immediately.

> Is there something about this form of checkout that requires that it be
> issued while in the "top level" directory of the project (i.e. the one
> containing the .git subdirectory)?

No, that doesn't matter.

Markus

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]