Created
June 2, 2013 08:21
-
-
Save itang/5693013 to your computer and use it in GitHub Desktop.
一键push
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/sh | |
git add . | |
if [ "$1" = "" ]; then | |
git commit -m "update" | |
else | |
git commit -m "$1" | |
fi | |
https_proxy=localhost:8087 git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment