Which remote branch is my git subtree tracking? -


let's there remote master, dev branch, , added subtree:

$ git remote add rem [url] $ git fetch rem $ git subtree add -p=./sub rem/dev 

now every time run git subtree pull -p sub, branch rem/dev fetched , merged sub. ok

but lets later on i forgot whether added master or dev branch. other inferring comparing git logs, there way git tell me branch of rem subtree in sub/ tracking?

subtrees tricky...

there .gittrees file in root of working directory, content such as:

[subtree "sub"]     url = git://example.com/repo.git     path = sub     branch = master 

Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -