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. add and commit in one step
  17. Move a file
  18. Remove a file
  19. Frequency of commits
  20. log
  21. Exercise