Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在使用 svn fast and furious 来进行提交,因为我是空想,我似乎不记得在提交之前要“svn up”。有谁知道 svn 在提交之前强制执行“svn up”的方法?我在 Ubuntu 上使用 svn。非常感谢!珍妮
在你的 shell 中为你自己创建一个别名。像这样的东西:
svnci = svn up;svn ci
甚至是你的 $ 中的一个小 shell 脚本PATH
PATH
但是,当这种情况发生时,您将如何管理合并冲突和编译错误?
svn commit不应该允许你提交(好吧,服务器不应该),除非你的工作副本已经达到了HEAD修订版。因此,在您当前的状态下,最糟糕的情况是您的提交被服务器拒绝。
svn commit
HEAD