打开gedit ~/.gitconfig
然后添加如下代码:
[user] name = xxx email = xxxx [color] ui = auto branch = auto status = auto [alias] st = status di = diff ci = commit co = checkout br = branch