视频网站开发源码,建设通网站是免费的吗,搜索引擎提交入口大全,修改wordpress标签大小对于windows用户来说#xff0c;使用git bash经常会出现乱码情况#xff0c;那么一款优质高尚的软件#xff0c;值得推荐一下了#xff0c;那就是cygwin 下载cygwin后#xff0c;在安装过程中#xff0c;安装git#xff0c;安装vim编辑器 然后会在安装目录下看到类linux…对于windows用户来说使用git bash经常会出现乱码情况那么一款优质高尚的软件值得推荐一下了那就是cygwin 下载cygwin后在安装过程中安装git安装vim编辑器 然后会在安装目录下看到类linux目录结构 配置别名alias 打开vim /etc/bash.bashrc添加 #自定义ls颜色 alias grepgrep --color # show differences in colouralias lsls -hF --colortty --show-control-chars # classify files in colouralias dirls --colorauto --formatvertical --show-control-charsalias vdirls --colorauto --formatlong --show-control-charsalias llls -la --show-control-chars # long listalias lals -A --show-control-chars # all but . and ..alias lls -lF --show-control-chars ## 添加清屏处理alias clearclearn 配置git设置 打开 vim ~/.gitconfig添加 [user] name #your name# emali #your email# [color] ui true [alias] co checkout br branch lg log --color --graph --prettyformat:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an%Creset --abbrev-commit 配置上传时忽略文件类型 vim ~/.gitignore添加 /bin//work//.gitignore.ideaoskeyoskey.pub*/*.imltargettarget/*afbx.iml.git-credentials*/.classpath*/.settings/**/.project 好了保存关闭cygwin后重新打开切换到git项目目录 发现ls后可以显示各种颜色再看git lg git lg -p查看详细修改 the end...转载于:https://www.cnblogs.com/yangzhenlong/p/5547388.html