Temporarily put away uncommitted changes in Subversion (a la “git-stash”)

前端 未结 16 1773
轮回少年
轮回少年 2020-11-28 17:18

While programming software stored in a Subversion repo, I often modify some files, then notice that I\'d like to do some preparatory change for my main work. E.g. while impl

16条回答
  •  日久生厌
    2020-11-28 18:06

    I have also wanted this feature. I currently use TortoiseSVN.

    I have not found a hardfast solution except to export the tree, revert back to repository make my changes and commit, then compare the changes from the exported tree back into my source controlled directory using a tool like Beyond Compare.

    Or, another solution might be to branch from the HEAD to another directory, make your changes and the commit. Once you're ready to merge those back to your other working copy, do an update and merge your changes.

提交回复
热议问题