Advertisement
mmornati

Untitled

Sep 18th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. [source,sh]
  2. .Tracked file changes
  3. ----
  4. git diff
  5. ----
  6.  
  7. [source,sh]
  8. .Add changed files
  9. ----
  10. git add <file1> <file2> <file3>
  11. ----
  12.  
  13. [source,sh]
  14. .Remove file
  15. ----
  16. git rm <file>
  17.  
  18. #recursive under directory
  19. git rm -r <dir>
  20. ----
  21.  
  22. ifdef::backend-slidy2[<<<]
  23. ifdef::backend-deckjs[<<<]
  24.  
  25. [source,sh]
  26. .See files ready for commit
  27. ----
  28. git status
  29. git diff --cached
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement