Git, Interactive Mode
Interactive mode
add -p
s, for split
git diff –staged
ALter commits
You can only alter the message
git ammend -m “”
git has a garbage collector to avoid a commit gets deleted by garbage collector, tag it
notes about messages
use imperative tense add/fix/remove/refactor
git checkout -b new-branch-name 878789
create a new branch out of a specific commit. git log
force with lease
git log branch_name
git log 7789987
git lol, lola
git diff HEAD^ HEAD