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