我们可以提交单独的文件吗?
您好,我们正在使用 CVS 并且定期进行开发。大多数时候我只处理一到三个文件。我仍然需要提交文件夹中的所有更改吗?是否可以选择必须提交的文件并且不允许 CVS 提交仍在开发中的文件?
与文件 1、文件 2 和文件 3 一样......我一天的大部分时间都在使用文件 1,我检查日志并在文件 2 中遇到一些问题,因此我对文件 2 进行了快速更改并决定提交。但 file 中的代码仍在开发中,只想提交对 file2 所做的更改。这可能吗?
Hello we are using CVS and development takes place regularly. I work only on one-three files most of the time. Do I still have to commit all the changes in the folder?? Is it possible to select the files which have to be committed and not allow the CVS to commit files which are still in development??
As in file 1, file 2 and file 3....I work with file 1 for most of the day, I check the logs and have some problem in file 2, so I make a quick change in file 2 and decide to commit. But code in file is still in development and only want to commit changes made to file2. Is that possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
是的,只需使用
Yup, just use
取自 http://cvsbook.red-bean.com/cvsbook.html
"在这里,我们按名称提交一个文件,并按推理提交两个文件:”
Taken from http://cvsbook.red-bean.com/cvsbook.html
"Here, we commit one file by name and two by inference:"
除了其他人所说的(这是正确的答案)之外,为什么不为实验性的东西创建一个分支,而不是推迟提交更改呢?
Alternatively to what the others said (which is the correct answer), instead of holding back to commit changes, why not create a branch for the experimental stuff?