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

前端 未结 16 1798
轮回少年
轮回少年 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:05

    another option is to copy your current checkout to a new directory and revert all your changes. this way you’ll save the hassle of creating a temporary branch on your server—after all stashing is a local operation, which not everybody should see and can be done quite often.

    after committing your hotfix you can update your main working copy and delete your “stashing area”

提交回复
热议问题