git 快捷方式

 

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

编辑 

[user]
        name = liudeyun
        email = liudeyun@test.com
[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  

posted @ 2020-05-15 16:07  御世制人  阅读(240)  评论(0编辑  收藏  举报