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
You could set your IDE compiler to generate all private temporary files (.class and so on) in .
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.