-
-
Save lkuper/2927486 to your computer and use it in GitHub Desktop.
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
rust-try: | |
#!/bin/bash | |
git diff --quiet HEAD | |
if [[ "$?" != "0" ]]; then | |
echo "Cannot push to try with uncommitted changes." | |
exit 1 | |
fi | |
git push -f mozilla HEAD:try | |
rust-incoming: | |
#!/bin/bash | |
git diff --quiet HEAD | |
if [[ "$?" != "0" ]]; then | |
echo "Cannot push to incoming with uncommitted changes." | |
exit 1 | |
fi | |
git push mozilla HEAD:incoming |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment