diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-01 18:27:14 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-01 18:27:14 +0900 |
| commit | f31821429df4bdc7171a6d7f37ae48d802868a5d (patch) | |
| tree | d82b43e8fd3a96215d93519eb5b04fb0ccb2a491 | |
| parent | ec89dd779ed67503678a752d2e0e68928183d831 (diff) | |
modified bin/gitupdate
| -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" |
