git 快捷方式

 vi ~/.gitconfig        ~意思为当前用户根目录

编辑 

[user]
        name = liudeyun
        email = [email protected]
[credential]
        helper = manager
[core]
        safecrlf = false
        autocrlf = false

[alias]
        st = status
        ci = commit
        co = checkout
        b  = branch
        pl = pull
        ps = push
         t = tag

  保存后,在使用git直接用     git pl   代表git  pull  

猜你喜欢

转载自www.cnblogs.com/yszr/p/12895525.html