oh-my-zsh

作者: robtomb_ | 来源:发表于2017-06-23 23:59 被阅读0次

    zsh关于git的配置在一下这个文件里

    .oh-my-zsh/plugins/git/git.plugin.zsh
    

    官方文档:
    https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh
    列举我经常用到的:

    alias g='git'
    alias ga='git add'
    alias gaa='git add --all'
    alias gl='git pull'
    alias gp='git push'
    alias grhh='git reset HEAD --hard'
    alias gst='git status'
    alias glgg='git log --graph'
    alias gcam='git commit -a -m'
    alias gcsm='git commit -s -m'
    alias gcl='git clone --recursive'
    

    相关文章

      网友评论

          本文标题:oh-my-zsh

          本文链接:https://www.haomeiwen.com/subject/bgyhcxtx.html