1.C:\Program Files\Git\etc\git-completion.bash: alias ls='ls --show-control-chars --color=auto' 说明:使得在 Git Bash 中输入 ls 命令,可以正常显示中文文件名. 2.C:\Program Files\Git\etc\inputrc: set output-meta on set convert-meta off 说明:使得在 Git Bash 中可以正常输入中文,比如中文的 commit
开门见山 git bash 是 Windows 用户安装 git 时默认安装的命令行工具,不仅界面漂亮功能也不错,大多数情况下可以替代 Windows 原生的 cmd 命令行. 然而,git bash 命令行不是万金油,并不能完全替代 cmd ,详情请参考 mintty 官网的相关说明. mintty is not a full replacement for the Windows Console window git bash 命令行默认使用 mintty 作为终端模拟器,而 mintty
对于我来说,最开始使用github主要是为了使用它的pages功能展示demo.其实这些都是用Github for Windows push上去的,图形化界面的客户端使用确实简单,但是逼格不够,好吧其实是各种原因下不了客户端,正好给我一个探索terminal方式的机会. 1.github账号注册 & msysgit的安装 言归正传,简单介绍下怎样利用git bash操作远端的github代码.首先得有git和github的基本概念,git是版本控制工具,而github相当于一个"免费&q