diff --git a/.gitconfig b/.gitconfig index b44243359b9..6fbc24bf273 100644 --- a/.gitconfig +++ b/.gitconfig @@ -13,7 +13,7 @@ di = !"d() { git diff --patch-with-stat HEAD~$1; }; git diff-index --quiet HEAD -- || clear; d" # Pull in remote changes for the current repository and all its submodules - p = !"git pull; git submodule foreach git pull origin master" + p = !"git pull; git submodule update --recursive --remote" # Clone a repository including all submodules c = clone --recursive