Intro

https://git-scm.com/docs/git

Git history is nonlinear, it is a tree. Git allows merge operations.

Some commonly used operations:

  1. git clone
  2. git pull
  3. git status
  4. git diff
  5. git add
  6. git commit -m “commit_message”
  7. git push
  8. git checkout
  9. git restore --staged
  10. git clean -xdf
  11. git log
  12. git apply

Some interesting comparisons

  1. Difference between git log A..B and git log A…B

    https://stackoverflow.com/a/24186641/6537282

Untitled