简体   繁体   中英

SVN Commit to a different branch

I Checked out a project from Trunk but now i need to commit the changes made in the working copy to a branch and not for the trunk(I made a lot of changes in multiple files). What is the best approach to do it?

  1. Save your work with svn diff or just copy working copy somwhere
  2. use svn switch for switch to branch
  3. commit

Example:

svn switch "^/branches/my-branch" path-to-trunk-checkout

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM