Skip to main content

git: testing pull/merge requests

Before merge it seams to be a good idea to test it locally.

So fetch first:

git fetch origin pull/ID/head:NEWBRANCH
None

Where ID is the number of the pull/merge request, e.g. 4 at: "ANSI interpretation usually requires echo -e #4"

Then checkout to the new branch and test:

git checkout NEWBRANCH