2017-06-22 30 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; 
    } 
}