From 2cee4aa7be8a613139da25d104f33dadae8e4487 Mon Sep 17 00:00:00 2001 From: xyz Date: Thu, 14 Jul 2022 02:08:53 -0700 Subject: refactor --- home/xyz/.local/bin/gitpu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home/xyz/.local/bin') diff --git a/home/xyz/.local/bin/gitpu b/home/xyz/.local/bin/gitpu index fcc32be9..5453faea 100755 --- a/home/xyz/.local/bin/gitpu +++ b/home/xyz/.local/bin/gitpu @@ -8,7 +8,7 @@ if [ -z "$1" ]; then git merge --no-edit master git push else - for dir ; do + for dir; do git -C "$dir" checkout master git -C "$dir" pull upstream master git -C "$dir" push -- cgit v1.2.3-70-g09d2