Advertisement
Guest User

Untitled

a guest
Dec 18th, 2012
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. c:\projects\scm\git\parent
  2. $ git branch
  3. master
  4. * newbranch
  5.  
  6. c:\projects\scm\git\child
  7. $ git remote show origin
  8. * remote origin
  9. Fetch URL: c:/projects/scm/git/parent
  10. Push URL: c:/projects/scm/git/parent
  11. HEAD branch (remote HEAD is ambiguous, may be one of the following):
  12. master
  13. newbranch
  14. Remote branches:
  15. master tracked
  16. newbranch tracked
  17. Local branch configured for 'git pull':
  18. master merges with remote master
  19. Local ref configured for 'git push':
  20. master pushes to master (up to date)
  21.  
  22. c:\projects\scm\git\child
  23. $ git branch -r
  24. origin/HEAD -> origin/master
  25. origin/master
  26. origin/newbranch
  27.  
  28. c:\projects\scm\git\newbranch-only
  29. $ git remote show origin
  30. * remote origin
  31. Fetch URL: ..\parent
  32. Push URL: ..\parent
  33. HEAD branch (remote HEAD is ambiguous, may be one of the following):
  34. master
  35. newbranch
  36. Remote branch:
  37. newbranch tracked
  38.  
  39. c:\projects\scm\git\newbranch-only
  40. $ git branch -r
  41. origin/newbranch
  42.  
  43. c:\projects\scm\git\newbranch-only
  44. $ git ls-remote origin
  45. b310158c8dc7a3b62c624d6a2b90910cfc23751c HEAD
  46. b310158c8dc7a3b62c624d6a2b90910cfc23751c refs/heads/master
  47. b310158c8dc7a3b62c624d6a2b90910cfc23751c refs/heads/newbranch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement