gitBlock 1.1: Reviewing git Basics
Background: https://unsplash.com/photos/842ofHC6MaI
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)addendum: git add -iYou can also interactively add changes with -i.
There’s also an extension available.
git-examplecookbook.md in your git-example directorycookbook.md and restore it.gitgnore.gitignore 📰!
dir/** and !dir/.gitkeepdir/ vs. dir/**
dir/ and !dir/.gitkeep?dir/, the whole directory is ignored and git will not scan it at allAny Questions?