git
Block 1.1: Reviewing git
Basics
Background: https://unsplash.com/photos/842ofHC6MaI
git
git
itself is a CLI program*: These programs have a different main purpose, but also offer the option of using git via their GUI.
git
commandsWhich of these git commands / actions have you used already? Have you used any that are not on this list?
git status
git init
git add
git commit
git restore
git stash
git checkout
git branch
git switch
git merge
git pull / push
git cherry-pick
Changes can be either unstaged, staged or commited.
add
the change to the staging area it is stagedcommit
all staged changesChanges can be either unstaged, staged or commited.
restore
the commited version (and remove any unstaged changes)git-example
cookbook.md
in your git-example
directorySince VSCode is primarily a text editor, git functionality is hidden in the sidebar
cookbook.md
and restore itAny Questions?