1

Add aliases for notes

This commit is contained in:
Evan Pratten 2024-05-12 09:58:25 -04:00
parent 28ff06bb15
commit 3f64cbafc1

View File

@ -45,11 +45,19 @@
# Un-fuck a branch that had a bit too much tinkering # Un-fuck a branch that had a bit too much tinkering
fix-recreated-branch = reset --hard @{u} fix-recreated-branch = reset --hard @{u}
# Get the date a specific commit was authored
author-date = log -1 --pretty="%aD"
# For working with git notes
pull-notes = fetch origin "refs/notes/*:refs/notes/*"
push-notes = push origin "refs/notes/*:refs/notes/*"
# Lazy macros # Lazy macros
fa = fetch --all fa = fetch --all
pa = pull --all pa = pull --all
c = commit c = commit
aa = add . aa = add .
rebase-ch-i = rebase --reapply-cherry-picks -i
[filter "lfs"] [filter "lfs"]
clean = git-lfs clean -- %f clean = git-lfs clean -- %f