working directory status

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

 



Hi,

I am new to git. I have been reading the documentation on Pro Git.

I have checked out two working directory (test1 & test2) using the
"git worktree add --checkout" command.

When I run the "git status" in either (test1 or test2) on the checked
out folder, the "On branch <branch name>" displays the branch name
from the latest checkout (ie branch associated with  test2).

Could you please provide the correct syntax to display the branch name
associated with the respective folder.

Any assistance is greatly appreciated.

Thanks
Lakshman



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

  Powered by Linux