add some aliases for submodules
This commit is contained in:
parent
1d121bdc8c
commit
fe1d218a0e
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@
|
|||
getbranchcommitter = "!f() { git for-each-ref --format='%(committerdate) %09 %(committername) %09 %(refname)' | sort -k5n -k2M -k3n -k4n; }; f"
|
||||
grepp = grep --break --heading --line-number
|
||||
grephist = "!f() { regex=$1; git grep --break --heading --line-number -e $regex $(git rev-list --all); }; f"
|
||||
sdiff = !"git diff && git submodule foreach 'git diff'"
|
||||
spush = push --recurse-submodules=on-demand
|
||||
supdate = submodule update --remote --merge
|
||||
[merge]
|
||||
conflictstyle = diff3
|
||||
tool = vimdiff
|
||||
|
|
Loading…
Reference in a new issue