git https免密:git config credential.helper manager https://blog.csdn.net/lqlqlq007/article/details/79065095
git ssh配置: ssh-keygen -t rsa -C '描述' https://blog.csdn.net/u010648555/article/details/53240986
https、ssh互转:git remote set-url origin url https://blog.csdn.net/u010648555/article/details/53240986
配置别名:
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"如此可以使用:git lg 查看日志
又如:
git config --global alias.st status版权声明:本文为qq_35119422原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。