shell命令行ls指令不显示颜色
在bashrc中添加,或移除以下内容前面的注释号即可
$ vi ~/.bashrc
# You may uncomment the following lines if you want `ls' to be colorized:
export LS_OPTIONS='--color=auto'
eval "`dircolors`"
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -lA'
$ source ~/.bashrc
Git需要重复输入账号密码
进入项目目录,输入以下指令:
$ git config --global credential.helper store