博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Git and Subversion
阅读量:6265 次
发布时间:2019-06-22

本文共 1027 字,大约阅读时间需要 3 分钟。

Cloning a Subversion Repository
$ git svn clone 
?optional-directory-name?
Synchronizing With Upstream
$ git svn rebase
Pushing Changes Upstream
$ git svn dcommit
Rules and Guidelines

There are a few rules you should follow when using Git as a Subversion client. Many of these are due to the fact that Git is a much more capable system than Subversion and some of the Git features simply do not work in Subversion.

  • Do not dcommit Git merge commits to the Subversion repository. Subversion doesn’t handle merges in the same way as Git, and this will cause problems. This means you should keep your Git development history linear (i.e., no merging from other branches, just rebasing).

  • Do not amend, reorder, or otherwise change commits that have been dcommited to Subversion. This is essentially the same rule as not changing Git commits that have been pushed to public repositories. Subversion cannot handle modifying or reordering commits.

from:

转载于:https://www.cnblogs.com/joe-yang/archive/2012/04/29/2476173.html

你可能感兴趣的文章
日期控件Android 自定义日历控件
查看>>
Java多线程编程:变量共享分析(Thread)
查看>>
word如何自动生成目录
查看>>
疯狂暑期学习计划~~~
查看>>
Mysql查询大表出现的一个错误
查看>>
Scala 中的foreach和map方法比较
查看>>
使用OWIN作为WebAPI的宿主
查看>>
阿里巴巴、腾讯、百度的面试问题笔知识汇总(两)
查看>>
如果他们在未来的几年内技术水平没有突破性的提升,或者缺乏一点灵性和品味,那么可能在未来很长一段时间内,他们都会保持这个薪资水平(转)...
查看>>
修改setup.py的源
查看>>
SQL Server 常用高级语法笔记
查看>>
IOS开发之SVN的使用
查看>>
百度.搜狐...2015产品经理面试题
查看>>
Rewriting History with Git Rebase
查看>>
(算法)跳格子
查看>>
骨头汤,猪肉汤
查看>>
Codeforces Round #318 [RussianCodeCup Thanks-Round] (Div. 1) A. Bear and Poker 分解
查看>>
生成文件下载
查看>>
腾讯bugly 的crash 上报和umeng的比较
查看>>
A CIRCULAR PROGRESSBAR STYLE USING AN ATTACHED VIEWMODEL
查看>>