Skip to content

Instantly share code, notes, and snippets.

@mbaric
Created September 8, 2016 10:16
Show Gist options
  • Select an option

  • Save mbaric/349d24d8cb67c32552e44897d1489436 to your computer and use it in GitHub Desktop.

Select an option

Save mbaric/349d24d8cb67c32552e44897d1489436 to your computer and use it in GitHub Desktop.

Revisions

  1. mbaric created this gist Sep 8, 2016.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    alias gc=gitCheckout
    .
    .
    .

    gitCheckout() {
    git checkout -b $1 origin/$1
    }