Guest User

Untitled

a guest
May 24th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. GIT CHEAT SHEET
  2.  
  3. git status -
  4. A view of what you're working on. Shows whats files staged to checkin, and whats not yet been staged.
  5.  
  6. gitk / menu option "start gui" -
  7. A graphical UI for reviewing current changes and staging them for checkin
  8.  
  9. git diff
  10. Shows changes between current source tree and what is staged for commit
  11.  
  12. git diff --cached
  13. Shows changes that are staged for commit
  14.  
  15. git show-ref
  16. Shows all reference (branches, remote branches, ...)
  17.  
  18. git ls-remote <remote reference>
  19. Shows all branches on a remote repository
  20.  
  21. git branch -r
  22. Shows all branches (?)
  23.  
  24. git show-branch -a
  25. graph of branches versus commits (?)
Add Comment
Please, Sign In to add comment