创建远程分支 testDev
step 1: git checkout -b testDev
step 2: git add yourfile
step 3:git commit -m "your comment"
step 4:git push --set-upstream origin testDev // 发布到远程
合并 testDev 到 testDev2,并删除 testDev 分支
首先,进入testDev2 分支: git checkout testDev2
然后, 合并分支 : git merge testDev
删除本地 testDev 分支:git branch -d testDev
删除远程 testDev 分支: git push origin --delete testDev