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