commit 375efcd855e7fe295d0452afd66999f750409d03
parent 46e39a282e12df0c0310a6ae2e9d87cdac99b825
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 23 Jul 2019 14:03:13 +0200
git: submodule aliases
Former-commit-id: 1aec1ffca462c554ef4bdcf2bb42e8ef89eb2d49
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/git/gitconfig b/git/gitconfig
@@ -52,7 +52,6 @@
fuckit = reset --hard HEAD
fuckitall = reset --hard origin/master
home = "!git remote get-url origin | sed -E 's|^git@([^:]+):|https://\\1/|' | tr -d '\n'"
- up-sub = "!git submodule foreach git pull; git submodule update --init --recursive -j8"
open = "!open $(git home)"
dad = "!curl https://icanhazdadjoke.com/ && echo && git add"
reignore = "!git rm -r --cached .; git add ."
@@ -61,6 +60,11 @@
la = "!git config -l | grep alias | cut -c 7-"
+ subget = submodule update --init
+ subdate = submodule update --remote
+ substatus = submodule status
+ subactive = "!git submodule status | grep -v '^-'"
+
[merge]
tool = vimdiff