Explorar o código

Add git 'sinit' alias: init/update/checkout via submodule command

Emmanuel Bouthenot %!s(int64=13) %!d(string=hai) anos
pai
achega
53f9a4e054
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      .gitconfig

+ 1 - 0
.gitconfig

@@ -17,6 +17,7 @@
     ls = ls-files
     ign = ls-files -o -i --exclude-standard
     unstage = reset HEAD
+    sinit = ! git submodule init && git submodule update && git submodule foreach 'git checkout master'
     spull = submodule foreach 'git pull'
 
 [color]