tt0686
tt0686

Reputation: 1849

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?

Upvotes: 0

Views: 728

Answers (1)

Sergey Azarkevich
Sergey Azarkevich

Reputation: 2671

  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

Upvotes: 1

Related Questions