遇到了几次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