Skip to content

Commit 97173af

Browse files
committed
Fix g p alias
Uses solution proposed in mathiasbynens#826 Fixes bug introduced in mathiasbynens#868
1 parent ce9c6c4 commit 97173af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
di = !"d() { git diff --patch-with-stat HEAD~$1; }; git diff-index --quiet HEAD -- || clear; d"
2222

2323
# Pull in remote changes for the current repository and all its submodules
24-
p = git pull --recurse-submodules
24+
p = !"git pull; git submodule update --recursive --remote"
2525

2626
# Clone a repository including all submodules
2727
c = clone --recursive

0 commit comments

Comments
 (0)