Open qiilee opened 4 years ago
答案:
git branch name 创建名字为name的branch
git checkout xxx_dev 切换到名字为xxx_dev的分支
git pull 从远程分支拉取代码到本地分支
git checkout -b main_furture_xxx 创建并切换到main_furture_xxx
git push origin main_furture_xxx 执行推送的操作,完成本地分支向远程分支的同步
答案:
git branch name 创建名字为name的branch
git checkout xxx_dev 切换到名字为xxx_dev的分支
git pull 从远程分支拉取代码到本地分支
git checkout -b main_furture_xxx 创建并切换到main_furture_xxx
git push origin main_furture_xxx 执行推送的操作,完成本地分支向远程分支的同步