2017-06-22 69 views
1

在初始化原子上的git-plus后,我的所有文件都变成了这种颜色,直到我提交它为止。我卸载了git-plus,并且所有这些仍然存在。即使没有.git文件夹的存储库在树视图中仍然有这种色彩。有什么办法可以让它在跟踪提交之前至少使它成为.git存储库?原子在使用git-plus后记录不同的颜色

enter image description here

回答

1

我不知道是否有一种方法只会使色彩发生,如果你在一个.git库的时候,也许别人可以与帮助。

我个人并不喜欢tree-view git的颜色,所以我只是完全删除它们。您可以通过将以下内容添加到样式表中来实现:

// Remove Git highlighting from tree view 
.status-modified, 
.status-added, 
.status-renamed, 
.status-removed { 
    color: inherit; 
    background-color: inherit; 

    &.directory > .list-item { 
    color: inherit !important; 
    background-color: inherit !important; 
    } 

    &.directory.selected > .list-item { 
    color: inherit !important; 
    background-color: inherit !important; 
    } 
}