Add permission-reset
This commit is contained in:
parent
854ecc91cb
commit
1f466570db
@ -28,6 +28,7 @@
|
||||
find-file = "!for branch in $(git for-each-ref --format=\"%(refname)\" refs/heads); do if git ls-tree -r --name-only $branch | grep \"$1\" > /dev/null; then echo \"${branch}:\"; git ls-tree -r --name-only $branch | nl -bn -w3 | grep \"$1\"; fi; done; :"
|
||||
# n => no pager
|
||||
ndiff = !git --no-pager diff
|
||||
permission-reset = "!git diff -p -R --no-color | grep -E \"^(diff|(old|new) mode)\" --color=never | git apply"
|
||||
[push]
|
||||
default = matching
|
||||
[core]
|
||||
|
Loading…
Reference in New Issue
Block a user