summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-01 18:27:14 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-01 18:27:14 +0900
commitf31821429df4bdc7171a6d7f37ae48d802868a5d (patch)
treed82b43e8fd3a96215d93519eb5b04fb0ccb2a491
parentec89dd779ed67503678a752d2e0e68928183d831 (diff)
modified bin/gitupdate
-rwxr-xr-xar/.local/bin/gitupdate4
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"