Thursday, 16 February 2017

42. How to show where the current repo is pulled from?


git remote show origin
* remote origin
  Fetch URL: git@github.ibm.com:llvm/llvm-on-power.git
  Push  URL: git@github.ibm.com:llvm/llvm-on-power.git
  HEAD branch: master
  Remote branch:
    master tracked
  Local branch configured for 'git pull':
    master merges with remote master
  Local ref configured for 'git push':
    master pushes to master (up to date)

No comments:

Post a Comment