摘要:        
1.进入你的home目录 cd ~ 2.编辑.bashrc文件 vi .bashrc 3. 将下面的代码加入到文件的最后处 function git_branch { branch="`git branch 2>/dev/null | grep "^\*" | sed -e "s/^\*\ //"`    阅读全文
posted @ 2020-06-12 10:16
蜕变C
阅读(512)
评论(0)
推荐(0)
        
            
        
        
摘要:        
在linux中git安装后颜色是不自动设置的。 下面的命令设置git的颜色: git config --global color.status autogit config --global color.diff autogit config --global color.branch autogi    阅读全文
posted @ 2020-06-12 09:59
蜕变C
阅读(1494)
评论(0)
推荐(0)
        

 浙公网安备 33010602011771号
浙公网安备 33010602011771号