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一下
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步