GIT remote show origin

git remote show origin displays info for your remote origin repo. I typically use this when I want to get the URL or the remote repo

$ git remote show origin

* remote origin
Fetch URL:
Push URL:
HEAD branch: master
Remote branches:
iss1903_microsite tracked
iss1907_baidu_staticmap tracked
iss1910_retailer_map_pic tracked
master tracked
Local branch configured for ‘git pull’:
master merges with remote master
Local ref configured for ‘git push’:
master pushes to master (fast-forwardable)

By Keenlio, September 15, 2014

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

nine + 1 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>