3 ms·
Fascinating, and downright uncanny. I could have written it. Now I can share it with others and say "This is 96% me." - I use gap instead of gaa. (He also
by sshine 2y ago
Fascinating, and downright uncanny.
I could have written it.
Now I can share it with others and say "This is 96% me."
- I use gap instead of gaa. (He also uses git add -p, but no alias?)
- I didn't have 'git lr', but I do now.
- I use `git commit --amend` more often.
- Pull request workflows exactly the same.
- Same policy on rebasing main onto feature branches.
- Same behavior around reviewing and self-reviewing.
- Same tendency to commit and cherry-pick off a branch.
- ...
My Atuin frequency table for git-specific commands:
gs # git status
gap # git add -p
gl # git log
gc # git commit (with -m, -v or --amend)
ga # git add
gdc # git diff --cached
gd # git diff
gp # git push (sometimes with --force-with-lease)
gco # git checkout
gpr # git pull --rebase --prune
git restore
git config
git rebase
I actually use Conventional Commits. I spent a total of 5 minutes bike-shedding "chore".
I didn't use "chore" before, because I don't get it, but I care more about consistency than being right.
So with my current colleague, I use "chore" as he does.
Another big difference is: I used `git worktree` extensively in my previous job. I don't now.
I used it extensively in my old job, since I maintained multiple long-lived contexts, and got distracted a lot.
I don't do that recently, so it's probably a work culture thing.
- rkangel 2y agoOne suggestion for local branch logging - you can do `git log master..` and it will show you the log of commits on your branch, stopping when it gets to (the common ancestor with) master. I don't use many aliases, but I do use that command a lot.