内容简介:如果平时使用git使用git命令多于GUI工具,则设置一些常用命令的别名有且于效率提升,以下是我平时使用较多的一些命令的别名设置
如果平时使用git使用git命令多于GUI工具,则设置一些常用命令的别名有且于效率提升,以下是我平时使用较多的一些命令的别名设置
git config --global alias.co checkout git config --global alias.ci commit git config --global alias.br branch git config --global alias.cp cherry-pick git config --global alias.unstage 'reset HEAD' git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset - %Cgreen(%cd)%C(yellow)%d%Creset %s %C(blue)[%an/%cn]%Creset' --date=format:'%Y-%m-%d %H:%M:%S' --abbrev-commit"
git lg命令效果图
以上所述就是小编给大家介绍的《Git命令别名设置》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
The Art of Computer Programming, Volume 4, Fascicle 3
Donald E. Knuth / Addison-Wesley Professional / 2005-08-05 / USD 19.99
Finally, after a wait of more than thirty-five years, the first part of Volume 4 is at last ready for publication. Check out the boxed set that brings together Volumes 1 - 4A in one elegant case, and ......一起来看看 《The Art of Computer Programming, Volume 4, Fascicle 3》 这本书的介绍吧!
SHA 加密
SHA 加密工具
Markdown 在线编辑器
Markdown 在线编辑器