One simple solution would be to have 2 git repos.
- One with a working directory derived from "
git checkout master " - One with a working directory derived from "
git checkout dev ", clone from the first
You would replace your (slow) "checkout" steps with "cd (right repo); git fetch ", before merging and clicking what you need.
I am going to make the selection much faster than checking in your case.
This solution has a cost, though (and not just to disk space, which these days is very cheap): it means potentially two development environments (two sets of parameters for the IDE editor, ...).
source share