Git学习笔记
git branch 分支名 创建本地分支
git branch -v 查看本地分支
git checkout 分支名 切换本地分支
git merge 分支名 把指定的分支合并到当前分支上
查看远程仓库
git remote -v
删除远程仓库
git remote remove origin
设置远程仓库
git remote add origin http://192.168.10.52/gitlab-instance-ece627c0/MCMS.git
Gitlab配置ssh key
https://www.cnblogs.com/hafiz/p/8146324.html
Git踩坑笔记[! [remote rejected] main -> main (pre-receive hook declined) error: failed to push some refs to "xxx"]
https://www.cnblogs.com/pzistart/p/16851481.html
Git push之后提示Everything up-to-date
必须先Git commit一下