1
vim /etc/profile.d/aliases.sh

然后编辑需要的命令别名即可

GitBash 设置命令别名