Commit changes to a different branch than the currently checked out branch with subversion

后端 未结 3 1094
北荒
北荒 2021-01-29 22:59

I\'ve been working on code checked out from the development line and discovered that the changes made might be breaking changes and need to be moved to an experimental branch be

3条回答
  •  被撕碎了的回忆
    2021-01-29 23:24

    You should create a branch from a known sourceURL (this would be your 'development line' you mentioned in the question) first:

    svn copy sourceURL branchURL
    

    Then, switch to that branch:

    svn switch branchURL
    

    And commit your changes:

    svn commit
    

提交回复
热议问题