【发布时间】:2011-04-24 00:32:53
【问题描述】:
有没有办法在我实际提交之前对多个提交(带有消息)进行排队?
在工作中,我们正在运行一个 SVN 服务器,我更新了笔记本电脑上的代码。当我在家时,我无法提交,但我仍然喜欢记录这些提交。
这是变更列表的用途吗?
【问题讨论】:
标签: svn tortoisesvn commit
有没有办法在我实际提交之前对多个提交(带有消息)进行排队?
在工作中,我们正在运行一个 SVN 服务器,我更新了笔记本电脑上的代码。当我在家时,我无法提交,但我仍然喜欢记录这些提交。
这是变更列表的用途吗?
【问题讨论】:
标签: svn tortoisesvn commit
不可能只用普通的 svn 做到这一点。因为它违背了集中式版本控制的目的。
但是 svk(with svn) 将最适合您的需要。 svk是一个去中心化的版本控制系统(它封装了svn)。
<snip>
* Does svk allow you to make several commits to your local copy of the repository and then be able to merge all the commits back to the main repository (keeping all the log messages)?
Yes - this was its very first feature. However the merge of local changes will be one commit in the remote repository by default, unless you use smerge -I. Meanwhile, smerge -l will bring the logs to the commit made to remote repository.
</snip>
【讨论】:
是的,使用 git-svn。您可以查看一个 Subversion 存储库,以便拥有它的本地 git 副本,在其上完成所有工作,然后在有机会时将其推送回服务器。
【讨论】: