4 ms·
Is there a reason why you'd create 2 distinct repositories instead of just creating branches and adding new remotes?
by leshow 8y ago
Is there a reason why you'd create 2 distinct repositories instead of just creating branches and adding new remotes?
- lambda 8y agoSo that you can easily rebuild and re-run each one with difference in build settings, instrumentation, etc, and get comparisons between the baseline and the modified version, without having to check out a different branch each time. Sometimes it's just quicker to work with two separate working directories than switching branches in one.
- ben0x539 8y ago`git worktree` is pretty neat btw!
- jswrenn 8y agoI cannot speak for OP, but I work on the Pyret compiler. Building a bootstrapping compiler is a lot of work and creates many (intentionally) untracked files. Pulling the repo twice allows me to hack on my fork without doing a full-rebuild every time I need to try something or change something on master.
- nnethercote 8y agoBecause my git-fu is weak and I have a fast network connection and a big disk! Doing things the dumb way works fine for me :)