小编Vit*_*sky的帖子

Git diff错误地解释了我的更改

尝试比较具有相同结构的块时,通常会在html / css中出现问题。示例: 初始提交

现在让我们向“ someblock”和新类“ someotherblock”添加新参数。 结果

预期结果:

 1  1 .someblock
 2  2    height:100%;
    3+   width:100%;
 3  4 }
    5+.someotherblock{
    6+   height:100%;
    7+}  
Run Code Online (Sandbox Code Playgroud)

有什么办法可以使git无法理解更改的“逻辑”?

git commit

3
推荐指数
2
解决办法
1228
查看次数

标签 统计

commit ×1

git ×1