adds new aliases for git.

- sr  = submodule update --remote --init
  - sms = submodule foreach 'git stash'
  - smp = submodule foreach 'git stash pop'
adds recurse option to submodule
adds submodulessummary to status
This commit is contained in:
tmerritt committed 2023-03-10 13:37:17 -05:00
1 parent cbecd146c2
commit f950536492
1 file changed
+11
+11
View File
@@ -15,6 +15,10 @@
co = checkout
pf = push --force-with-lease
st = status
sr = submodule update --remote --init
sms = submodule foreach 'git stash'
smp = submodule foreach 'git stash pop'
# smbr = submodule foreach 'git checkout '
[core]
excludesfile = ~/.gitignore
autocrlf = input
@@ -37,3 +41,10 @@
autoSetupRebase=always
[checkout]
defaultRemote=origin
[status]
submodulessummary = true
[submodule]
recurse = true
rebase = true