[TOC]
本项目为
Python知识学习库
将
typeidea仓库的master分支迁移至python_learn_note仓库的typeidea分支下
# 设置 `typeidea` 仓库的远程关联仓库 (django3.2) (base) ☁ typeidea [master] git remote add origin git@github.com:zhangbc/python_learn_note.git # 创建分支 (django3.2) (base) ☁ typeidea [master] git branch typeidea # 切换分支 (django3.2) (base) ☁ typeidea [master] git checkout typeidea # push提交 (django3.2) (base) ☁ typeidea [master] git push origin typeidea # pull同步本地 (django3.2) (base) ☁ typeidea [master] git pull --rebase # 处理冲突 # 设置关联分支 (django3.2) (base) ☁ typeidea [master] git branch --set-upstream-to=origin/typeidea typeidea # 再次pull同步 (django3.2) (base) ☁ typeidea [master] git pull --rebase # 再次push提交 (django3.2) (base) ☁ typeidea [master] git push origin typeidea