Three typical ways to use git:
- on the command-line
- in GitKraken
- a mix!
ask what folks use
git log --grep
git log -S (pickaxe)
git log -G (pickaxe)
git log --pickaxe-regex
git log --author
Concepts:
-
Working tree/directory
-
Stage
git add --patch git add --intent-to-add # aka: -N
Staging individual files Staging chunks of files (diff hunks) Staging individual lines
Setting git editor
git config --global core.editor "atom --new-window --wait"
git rebase --interactive
git reset --patch
git commit --amend
- pick ...
- reword ...
- fixup ...
- squash ...
- edit ...
start good vs. bad run (automated) stop