git and C++ workflow, how to handle object and archive files?

前端 未结 8 1835
鱼传尺愫
鱼传尺愫 2021-02-05 20:40

I use git to interface with an SVN repository. I have several git branches for the different projects I work on.

Now, whenever I switch from one branch to another using

8条回答
  •  一生所求
    2021-02-05 21:15

    You could set your IDE compiler to generate all private temporary files (.class and so on) in \branchName\....

    By configuration your compilation setting branch by branch, you can register the name of the branch in the output directory path.

    That way, even if though private files remain when you git checkout, your project on the new branch is ready to go.

提交回复
热议问题