remove unused extra args that would conflict with an implied repo
This commit is contained in:
12
gpush
12
gpush
@@ -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
|
||||
|
Reference in New Issue
Block a user