Skip to content

Commit 8ee4adf

Browse files
authored
Merge pull request #38 from glensc/no-verify
add --no-verify to prevent hooks to intervene
2 parents d72b68e + 006a6d2 commit 8ee4adf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: git-fire

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ fire() {
4545
git commit -m "$message" --no-verify
4646

4747
for remote in $(git remote); do
48-
git push --set-upstream "${remote}" "$(current_branch)" || true
48+
git push --no-verify --set-upstream "${remote}" "$(current_branch)" || true
4949
done
5050

5151
if [[ $(git stash list) != '' ]]; then
5252
for sha in $(git rev-list -g stash); do
53-
git push origin "$sha":refs/heads/"$(current_branch $initial_branch)"-stash-"$sha"
53+
git push --no-verify origin "$sha":refs/heads/"$(current_branch $initial_branch)"-stash-"$sha"
5454
done
5555
fi
5656

0 commit comments

Comments
 (0)