Last active
February 22, 2017 12:33
-
-
Save elmariofredo/db32d5344cb758de378815c9b0c50563 to your computer and use it in GitHub Desktop.
Auto add no verify to git push and commit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ $@ == *"push"* || $@ == *"commit"* ]]; | |
then | |
$HOME/.nix-profile/bin/git $@ --no-verify | |
else | |
$HOME/.nix-profile/bin/git $@ | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment