177.4. branch

简介:

177.4.1. create

create a new branch using copy

svn cp http://www.domain.com/truck/project http://www.domain.com/branches/project_branch_1
			

177.4.2. remove

remove

svn rm http://www.domain.com/branches/project_branch_1
			

177.4.3. switch

svn switch http://www.domain.com/branches/project_branch_2 .
			

177.4.4. merge

svn -r 148:149 merge svn://server/trunk branches/module
			

177.4.5. relocate

switch --relocate FROM TO [PATH...]

svn switch --relocate svn://192.168.3.9/neo svn://192.168.3.5/neo .
			




原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
2月前
|
开发工具 git
git branch (branchname)
git branch (branchname) 是 Git 中创建和管理分支的一种命令。通过这个命令,你可以根据指定的分支名创建一个新的分支,或者跳转到已经存在的分支上。branchname 参数是可选的,如果不指定,则默认创建或切换到主分支(master 或 main)。
58 8
|
开发工具 git
git push报错:The current branch master has no upstream branch
git push报错:The current branch master has no upstream branch
29842 0
git push报错:The current branch master has no upstream branch
|
8月前
|
开发工具 git
对git rebase 和git merge的理解
对git rebase 和git merge的理解
134 1
|
缓存 测试技术 开发工具
git checkout 切 commit
git checkout 切 commit
337 0
git checkout 切 commit
|
开发工具 git
git remote prune origin 删除本地有但在远程库已经不存在的分支
git remote prune origin 删除本地有但在远程库已经不存在的分支
486 0
|
开发工具 数据库 git
Git的branch操作详解
在开发软件时,可能有多人同时为同一个软件开发功能或修复BUG,可能存在多个Release版本,并且需要对各个版本进行维护。Git的分支功能可以支持同时进行多个功能的开发和版本管理。 分支是为了将修改记录的整体流程分叉保存。分叉后的分支不受其他分支的影响,所以在同一个数据库里可以同时进行多个修改。分叉的分支可以合并
176 0
Git的branch操作详解
|
开发工具 git
git 之merge 分支合并
git 之merge 分支合并
88 0
|
开发工具 git C++
Git:cherry-pick应用一个分支某些现有提交,到另外一个分支
Git:cherry-pick应用一个分支某些现有提交,到另外一个分支
704 0
Git:cherry-pick应用一个分支某些现有提交,到另外一个分支
|
开发工具 git
【Git】Git 分支管理 ( 删除远程分支 | 查看远程分支 git branch -a | 删除远程分支 git push origin --delete feature1 )
【Git】Git 分支管理 ( 删除远程分支 | 查看远程分支 git branch -a | 删除远程分支 git push origin --delete feature1 )
381 0
【Git】Git 分支管理 ( 删除远程分支 | 查看远程分支 git branch -a | 删除远程分支 git push origin --delete feature1 )
|
开发工具 git
Git Your branch is ahead of ‘origin/master‘ by X commits解决
Git Your branch is ahead of ‘origin/master‘ by X commits解决
456 0