Overview
Teaching: 0 min
Exercises: 0 minObjectives
- reviewing key points of Git - workshop 1
“Initializing a Git repository is simple: git init
”
use git status
a lot
use git add
- git checkout
- git commit
workflow:
git add
every change that improved things.git checkout
every change that made things worse.git commit
as soon as you have created “a nice self-contained unit”.this workflow creates a story (find a balance between saving often and commiting)
take care of writing informative git commit
messages
master
branch as clean as possiblegit branch
or git status
)