我正在尝试合并并将提交推送到远程仓库。
我在2个文件上遇到合并错误,因此修复了它们。
我然后git status
并看到:
Unmerged paths:
# (use "git add/rm <file>..." as appropriate to mark resolution)
#
# both modified: css/main.css
# both modified: sass/_style-guide.scss
是的,那些是我修复的文件,所以我运行:git add .
然后git commit
,但会立即收到消息:
You have no files to commit
有谁知道为什么这样做?