它发生在
我正在使用Github Desktop(MACOS),希望它很清楚。 我知道-ignore-white-space可能会有所帮助,但是我无法在Github Desktop中找到diff选项。
答案 0 :(得分:0)
I found the answer, my teammate using different code formatter. And when he auto-format the code, git treat it as he updated the entire part and think my teammate deletes the line as well. There might be some conflict when he try to push, but he completely erase the current master branch without checking (My new line). There's