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:
parent
b62236e8d9
commit
e6a3ee18d7
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue