From a26314c6a19ff01e6c37ffab973aa10d2c0dee0f Mon Sep 17 00:00:00 2001 From: Munir Wanis Date: Thu, 25 Jan 2018 19:17:09 -0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Updates=20pull=20alias=20to=20a?= =?UTF-8?q?=20more=20recent=20version=20of=20pulling=20submodules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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