Git - determine branch remote source

Andrew McNabb amcnabb at mcnabbs.org
Tue Feb 8 09:39:17 MST 2011


On Tue, Feb 08, 2011 at 08:55:07AM -0700, Kenneth Burgener wrote:
> 
> How does one determine the source remote (and branch) for a local 
> branch?

There might be a better way, but you could always do:

git config branch.master.remote

to show the remote associated with the branch "master".

-- 
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868


More information about the PLUG mailing list