How to work simultaneously on a few branches

前端 未结 4 1841
没有蜡笔的小新
没有蜡笔的小新 2021-01-30 06:40

This is a follow-up on this question on creating branches.

It strikes me as odd that I would still work on one repository because the files on my local machine will be a

4条回答
  •  野性不改
    2021-01-30 06:59

    I suggest my solution via small script https://web.archive.org/web/20141114201917/http://www.redhotchilipython.com/en_posts/2013-02-01-clone-per-feature.html

    While git stash tools are nice, I find having multiple clones much better. You can run tests in one branch, while work on other. Or you don't even have to stop debugger, close editor, clean tempfiles or something else.

提交回复
热议问题