git: add alias for fetching git-notes

the `#` is a hack to prevent the shell from adding arguments to the end,
`$2` is for inserting a `+` in front of the refspec to allow overwriting
This commit is contained in:
xfnw 2023-11-17 20:39:14 -05:00
parent b62236e8d9
commit e6a3ee18d7
1 changed files with 2 additions and 1 deletions

View File

@ -12,8 +12,9 @@
smtpserverport = 587
[alias]
psuh = push
quickserve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/
br = !git log --oneline | head
quickserve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/
fetch-notes = !"git fetch ${1:-origin} $2refs/notes/*:refs/notes/* #"
[commit]
verbose = true
[pull]