0
点赞
收藏
分享

微信扫一扫

【C++】string类——模拟实现

陈情雅雅 2024-08-09 阅读 28
git

解决冲突

1. 本地develop分支拉取远程最新develop分支的代码

//在develop分支上
git pull origin develop

2. 将本地develop分支的代码合并到本地feature/slot分支

//在feature/slot分支上
git merge develop

3. 解决冲突

//上述合并之后,就可以参考code中存在冲突的位置,然后在相应的文件中解决冲突

4. 提交代码

git add .
git commit -m 'chore: merge branch develop into feature/slot'

本地创建一个新的分支并关联远程分支

git checkout -b feature/slot origin/feature/slot

拉取代码

1. 最先创建时使用git clone命令
2. git pull origin xxx  拉取远程分支最新代码

g

举报

相关推荐

0 条评论