remove unused extra args that would conflict with an implied repo

This commit is contained in:
2022-11-18 16:51:57 -05:00
parent 2bf4e928dd
commit 3db78cdda9
4 changed files with 9 additions and 36 deletions

12
gpush
View File

@@ -18,17 +18,9 @@ url="https://luke:${token}@git.drheck.dev/luke/${project}.git"
if [[ "$project" == 'pass' ]]; then
pass git config user.signingkey "$gpg_key"!
pass git config commit.gpgsign true
if [[ -n "$@" ]]; then
pass git push "$@" "$url"
else
pass git push "$url"
fi
pass git push "$url"
else
git config user.signingkey "$gpg_key"!
git config commit.gpgsign true
if [[ -n "$@" ]]; then
git push "$@" "$url"
else
git push "$url"
fi
git push "$url"
fi