遇到了几次commit过程中出错,原因是我的PC上的版本不是最新版本,就进行了commit操作,这样就会有问题。
在Eclipse的help中有一条建议如下:
It is considered a more ideal workflow to always update before committing in order to ensure that you have the latest state of the repository before committing more changes.
今后就按照这样的流程执行,每次先update再进行改动,最后commit
本文讨论了版本控制系统中的一种常见问题,即在没有更新最新版本的情况下进行提交(commit)所带来的潜在风险。作者强调了一种更为理想的实践方式:在进行提交之前总是先进行更新(update),以确保提交前拥有仓库的最新状态。
1486

被折叠的 条评论
为什么被折叠?



