1.5 KiB
1.5 KiB
GIT101: Git Basics
Learn the basic Git commands you need to really understand GitOps, not just use it.
High-level topics covered in this video:
- Why use Git in the first place?
- What is a repo?
- Making changes, staging files, and committing.
- How do branches work? Why use them?
- What is a pull request?
Commands covered in this video:
git initgit addgit diff(with--statand--staged)git commit(with-m)git log(with--onelineand-n)git showgit statusgit restoregit rmgit mv- This is one of the most important commands covered in the video, as this is not available in GitHub Desktop. Renaming with
git mvworks differently than renaming in Finder or with the standardmvcommand.
- This is one of the most important commands covered in the video, as this is not available in GitHub Desktop. Renaming with
git configgit pushgit fetchgit pullgit branch(with-a)git switch(with-c)git clonegit checkout
Additional resources mentioned are: the Git manual and the Pro Git book.