Here are my indispensible git command-line tricks:
gh pr checkout NNNN
- Check out a numbered PR to your working treegl3
- See the last 3 commitsgco -
- Check out the last branch you were ongco branch-name
- Check out a local branch by full namegbm DateInput
- Shows git branches matching a patterngco $(gbm DateInput)
- Check out the DateInput branchglb
- "Git last branches" - print a list of the most recent branches you've checked outgro
- "Git reset origin" - Does a reset to the remote branch, not merging with local edits