标签:使用 查看 unset bsp 别名 host git local config
Git 别名与 alias 一样,能够简化那些较长的命令,下面我们把 git log --pretty=oneline 做一个别名为 git lg
[root@localhost studygit]# git config --global alias.lg "log --pretty=oneline" # 定义别名 [root@localhost studygit]# git lg # 使用别名 [root@localhost studygit]# git config --list | grep alias # 查看别名 [root@localhost studygit]# git config --global --unset alias.ci # 删除别名
标签:使用 查看 unset bsp 别名 host git local config
原文地址:http://www.cnblogs.com/pzk7788/p/7375422.html