Branching in Subversion ¶
FROM:https://dev.geogebra.org/trac/wiki/SubversionBranching
Some people want to make a branch from the GeoGebra trunk/geogebra directory. Here is the howto for the command line geek, we assume that the "prover" branch is to be created:
[email protected]:/tmp$ svn checkout --depth immediates https://dev.geogebra.org/svn A svn/trunk A svn/branches A svn/tags Checked out revision 14169. [email protected]:/tmp$ cd svn/trunk [email protected]:/tmp/svn/trunk$ svn update geogebra A geogebra A geogebra/test A geogebra/test/scripts A geogebra/test/scripts/autotest A geogebra/test/scripts/autotest/simpletest.out [...] A geogebra/web/war/WEB-INF/web.xml A geogebra/web/.settings A geogebra/web/.settings/org.eclipse.jdt.core.prefs A geogebra/web/.settings/org.eclipse.jdt.ui.prefs Updated to revision 14169. [email protected]:/tmp/svn/trunk$ mkdir ../branches/prover [email protected]:/tmp/svn/trunk$ svn add ../branches/prover A ../branches/prover [email protected]:/tmp/svn/trunk$ svn copy geogebra ../branches/prover/geogebra A ../branches/prover/geogebra [email protected]:/tmp/svn/trunk$ cd ../branches [email protected]:/tmp/svn/branches$ svn commit