diff options
| -rwxr-xr-x | ar/.local/bin/gitupdate | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ar/.local/bin/gitupdate b/ar/.local/bin/gitupdate index 72c5db6..8205e48 100755 --- a/ar/.local/bin/gitupdate +++ b/ar/.local/bin/gitupdate @@ -72,10 +72,10 @@ repo_root=$(git rev-parse --show-toplevel || echo ".") cd "$repo_root" if [ "$repo_root" = "${PASSWORD_STORE_DIR:-${HOME}/.password-store}" ]; then - pass git remote | xargs -L1 pass git push -all + pass git remote | xargs -L1 pass git push --all else git pull --rebase origin "$branch" - git remote | xargs -L1 git push -all + git remote | xargs -L1 git push --all fi printf "\n[repo] %s(%s): %s\n" "$(basename "$repo_root")" "$branch" "$message" |
