Work it!

You work a lot with PRs from forked repos within your team? Maybe my workfow can help you to make your life easier.

My workflow

1. Create a remote url with the name of the person as identifier like below:

$ git remote -v

julien https://github.com/julienw/perf.html.git
main https://github.com/devtools-html/perf.html.git
mstange https://github.com/mstange/perf.html.git
zoepage https://github.com/zoepage/perf.html.git

  1. Use your fork as the main repo to review and fetch branches, you need to review per name.

How?

I usually create a branch with the name of the PR, e.g. 123-feature_v2 and pull the data in. This way I also can work on changes, if I need to or can fork that branch.

$ git checkout -b 123-feature_v2
$ git pull julien 123-feature_v2

No need for different folders or other maybe messy hacks.

← Home