PS D:\A-YC\n_vehicle_web> git pull
Already up to date.
PS D:\A-YC\n_vehicle_web> git branch yc-1
PS D:\A-YC\n_vehicle_web> git checkout yc-1
Switched to branch 'yc-1'
PS D:\A-YC\n_vehicle_web> git push
fatal: The current branch yc-1 has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin yc-1
To have this happen automatically for branches without a tracking
upstream, see 'push.autoSetupRemote' in 'git help config'.
PS D:\A-YC\n_vehicle_web> git push --set-upstream origin yc-1
Enumerating objects: 11, done.
Counting objects: 100% (11/11), done.
Delta compression using up to 12 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (6/6), 471 bytes | 471.00 KiB/s, done.
Total 6 (delta 4), reused 0 (delta 0), pack-reused 0
remote:
remote: To create a merge request for yc-1, visit:
remote: http://bt.seeyonn.cc:9091/Ulanqab/vehicle/vehicle_web/-/merge_requests/new?merge_request%5Bsource_branch%5D=yc-1
remote:
To http://bt.seeyonn.cc:9091/Ulanqab/vehicle/vehicle_web.git
* [new branch] yc-1 -> yc-1
branch 'yc-1' set up to track 'origin/yc-1'.
PS D:\A-YC\n_vehicle_web>
ck分支做了保护处理
解除ck分析的protected处理,或者新开一个branch,并将ck从远程pull后,rebase ck,将新的branch 推送到remote,然后 merge到develop分支。