看到说 Linux 下 ~/.gitconfig 文件中设置 [alias] 之后能用短命令. 我觉得还是太长, 于是在 Bash 的 .bashrc 配置里写了更简短的 alias, 结果, 发现自动补全 branch 的功能出问题了.. 请问有好的解决方案么?
~/.gitconfig
[alias]
.bashrc
alias
光阴似箭催人老,日月如移越少年。
Use Z shell, zsh can automatically expand when alias is completed In addition, you can also customize the prompt to display git repo information
Use Z shell, zsh can automatically expand when alias is completed
In addition, you can also customize the prompt to display git repo information