Git Basics


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

Your comments: