Inhalt - SVN - Subversion commands
Subversion commands
Betreff:
Branches
Datum:
9. April 2025 12:25

Create a new Branch

  1. Copy an existing Project to a new URL on the Repository
    svn copy project_branch feature_branch -m Message
    svn copy svn://svnserver/rep/trunk/Project svn://svnserver/rep/branches/Project-Feature -m Message
  2. Change Current Path to Workspace
    cd .../workspace...
  3. Checkout the new Branch
    svn switch feature_branch local_project
    svn switch svn://svnserver/rep/branches/Project-Feature Project

Merge a Branch

  1. Change Current Path to Workspace
    cd .../workspace...
  2. Checkout the Destination-Branch
    svn switch project_branch local_project
    svn switch svn://svnserver/rep/trunk/Project Project
  3. Merge Feature into Project
    svn merge feature_branch local_project
    svn merge svn://svnserver/rep/branches/Project-Feature Project
Haftungsausschluss: Die Informationen auf dieser Website wurden mit grösster Sorgfalt erstellt. Dennoch übernehme ich keine Haftung für die Richtigkeit, Vollständigkeit oder Aktualität der Inhalte. Änderungen und Irrtümer sind vorbehalten.
Java HotSpot™ Client VM 1.8.0_401 / © Thomas Gürber