I have cloned a remote SVN repository with git-svn. I have modified a pom.xml file in this cloned repo in a way that the code compiles. This setup is exclusive for me. Thus
Good ideas suggested already. Prehooks seem most suitable perhaps. Some other avenues to consider might be: - Fork the repo and commit all changes - Commit a separate branch on same repo and commit that - Have a local branch of just your private diffs which you cherry pick when you check out, and reverse before checking in? - Apply patch files - again which can be reversed before checking in (problematic though)