Peter Rogers (peter.rogers@gmail.com)
April 2019
My process:
The command:
git status
I created a shortcut (in bash) because I do this all the time:
> alias st="git status"
The shortcut:
> st
The command:
> git log --decorate --graph --oneline
The command:
> lg
The command:
> git log --decorate --merges --oneline
The command:
> lgm
The command:
> git merge-base first-branch second-branch
I don't do this often enough to warrant a shortcut.
The command:
> git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:relative) -- %(refname:short)'
The command:
> bl
The command:
> git for-each-ref --sort=-committerdate refs/remotes/ --format='%(committerdate:relative) -- %(refname:short)'
The command:
> blr
Today we talked about how I answer some simple questions:
/