Skip to content

Instantly share code, notes, and snippets.

@tivrfoa
Created November 20, 2020 12:21
Show Gist options
  • Save tivrfoa/8af902ce0c2bc57f4ce553a79d4fcc87 to your computer and use it in GitHub Desktop.
Save tivrfoa/8af902ce0c2bc57f4ce553a79d4fcc87 to your computer and use it in GitHub Desktop.
Git Fetch Pull Request
~/dev/git/jbang (master)
$ git fetch origin pull/527/head:fixjfxname
From https://github.com/jbangdev/jbang
* [new ref] refs/pull/527/head -> fixjfxname
~/dev/git/jbang (master)
$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
~/dev/git/jbang (master)
$ git branch
fixjfxname
* master
~/dev/git/jbang (master)
$ git checkout fixjfxname
Switched to branch 'fixjfxname'
@tivrfoa
Copy link
Author

tivrfoa commented Nov 20, 2020

#Github

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment