Skip to content

Instantly share code, notes, and snippets.

@itang
Created June 2, 2013 08:21
Show Gist options
  • Save itang/5693013 to your computer and use it in GitHub Desktop.
Save itang/5693013 to your computer and use it in GitHub Desktop.
一键push
#! /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