美文网首页前端大讲堂让前端飞
Git 基本操作定义别名 alias

Git 基本操作定义别名 alias

作者: 前端大课堂 | 来源:发表于2019-01-13 19:32 被阅读0次

$ git config --global alias.st status

$ git config --global alias.co checkout

$ git config --global alias.ci commit

$ git config --global alias.br branch 

以后提交就可以简写成:

$ git ci -m "bala bala bala..."

相关文章

网友评论

    本文标题:Git 基本操作定义别名 alias

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