Skip to content

Instantly share code, notes, and snippets.

@wayneseymour
Created March 30, 2021 20:23
Show Gist options
  • Select an option

  • Save wayneseymour/c7b1215a64e1675d52e4541f871aaf2c to your computer and use it in GitHub Desktop.

Select an option

Save wayneseymour/c7b1215a64e1675d52e4541f871aaf2c to your computer and use it in GitHub Desktop.

Revisions

  1. wayneseymour created this gist Mar 30, 2021.
    8 changes: 8 additions & 0 deletions get_his_branch_on_your_local.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    # add his remote
    git remote add spalger [email protected]:spalger/kibana.git
    # verbosely fetch his remote branch info
    git fetch spalger -v
    # bring down the branch he was working on, to your local
    git branch --track pr/95667 spalger/pr/95667
    # checkout that branch
    git checkout pr/95667