remote 

Send to Kindle
home » snippets » git » tools » remote



Show remote – git remote show REMOTE

Command

git remote show origin

Sample Output

% git remote show origin
* remote origin
  Fetch URL: [email protected]:chirayuk/angular.js.git
  Push  URL: [email protected]:chirayuk/angular.js.git
  HEAD branch (remote HEAD is ambiguous, may be one of the following):
    fix_ie_test
    master
  Remote branches:
    disallow_onevent_handlers         tracked
    fix_ie_test                       tracked
    master                            tracked
    move_getter                       tracked
    refs/remotes/origin/sce_ie_test   stale (use 'git remote prune' to remove)
    sandbox_js_expr                   tracked
    …
  Local refs configured for 'git push':
    disallow_onevent_handlers         pushes to disallow_onevent_handlers         (up to date)
    fix_ie_test                       pushes to fix_ie_test                       (up to date)
    master                            pushes to master                            (fast-forwardable)
    move_getter                       pushes to move_getter                       (up to date)
    sandbox_js_expr                   pushes to sandbox_js_expr                   (up to date)