使用git提交代碼在本次提交時已有其他人提交過代碼,報如下信息:
Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
話不多說,直接描述方法:
- 鍵盤輸入‘i’
- 鍵盤輸入‘esc’
- 鍵盤輸入‘:wq’
- 鍵盤輸入‘enter’,提交代碼成功