Skip to content

Instantly share code, notes, and snippets.

@mikeerickson
Last active December 28, 2015 13:19
Show Gist options
  • Select an option

  • Save mikeerickson/7506752 to your computer and use it in GitHub Desktop.

Select an option

Save mikeerickson/7506752 to your computer and use it in GitHub Desktop.

Revisions

  1. mikeerickson revised this gist Dec 15, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gu-script.txt
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    gu () {
    if [ -z "$1" ]; then msg="code update"; else msg=$1; fi
    git add . && git commit -m "$msg" && git push
    git add . -A && git commit -m "$msg" && git push
    }
  2. mikeerickson created this gist Nov 16, 2013.
    4 changes: 4 additions & 0 deletions gu-script.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    gu () {
    if [ -z "$1" ]; then msg="code update"; else msg=$1; fi
    git add . && git commit -m "$msg" && git push
    }