From 347a68546c0d7df97000bc2a80ebd1d5ceb39e40 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 24 Jan 2020 17:14:45 +0300 Subject: .gitconfig: no more external scripts --- %HOME%/.local/bin/git-pulll-old | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 %HOME%/.local/bin/git-pulll-old (limited to '%HOME%/.local/bin/git-pulll-old') diff --git a/%HOME%/.local/bin/git-pulll-old b/%HOME%/.local/bin/git-pulll-old new file mode 100644 index 0000000..79299e5 --- /dev/null +++ b/%HOME%/.local/bin/git-pulll-old @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# This is cool: +# https://medium.com/@porteneuve/mastering-git-submodules-34c65e940407 + +git pull "$@" \ + && git submodule sync --recursive \ + && git submodule update --init --recursive -- cgit v1.2.3