commit c8cb083aa58102d9d83a91608971b4c7c296759c parent 87013cceff0c24a9a95e7a9bb15edadedf2e62e4 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Thu, 18 Aug 2016 01:26:22 +0200 fixes Diffstat:
pull-all-git | | | 7 | ++++++- |
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/pull-all-git b/pull-all-git @@ -2,9 +2,14 @@ set -e +umask 022 + cd ~/git for a in * do - git pull "https://a3nm.net/git/$a" + cd "$a" + # https://stackoverflow.com/a/21331942 + git fetch "https://a3nm.net/git/${a%.git}" '*:*' + cd .. done