Git Basics

  1. 4 Ways to get started
  2. Creating a local empty repository
  3. Create first file
  4. File status
  5. Add first file
  6. Commit first file
  7. Making some changes
  8. Untracked and Modified
  9. Untracked/Modified/Staged
  10. Commit the file(s)
  11. See the changes
  12. Stage and HEAD
  13. Remove from stage (unstage)
  14. Drop local changes (restore to HEAD or to index)
  15. Add all the files
  16. Git ignore
  17. .git/info/exclude
  18. .gitkeep
  19. add and commit in one step
  20. Move a file
  21. Remove a file
  22. Frequency of commits
  23. log
  24. gitk
  25. blame
  26. Exercise