首页 > 其他 > 详细

git常用别名设置,保存一份

时间:2018-05-29 16:08:30      阅读:193      评论:0      收藏:0      [点我收藏+]

git配置别名设置,保存一份

若git  config  --global  xxxx 设置,则文件一般在 C:\Users\Administrator\.gitconfig

技术分享图片

 

[alias]
lg = log --color --graph --pretty=format:‘%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset‘ --abbrev-commit
co = checkout
ci = commit
br = branch
st = status

git常用别名设置,保存一份

原文:https://www.cnblogs.com/hero123/p/9105381.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!