I can never remember the full command though so I made it into a bash function:
rvpr(){# check if second argument was givenif[-z"$2"];then
git fetch upstream pull/$1/head:$1-pull-requestelse
git fetch upstream pull/$1/head:$1-$2fi}# to be used like:
rvpr 1579 share-dropdown
#=> an alias for git fetch upstream pull/1579/head:1579-share-dropdown
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
To review PRs, I use what @maestromac showed me, which is running the
git
command:So for example:
I can never remember the full command though so I made it into a
bash
function: