52、小明想推送dev分支新的提交到远程仓库,在推送之前查看分支如下:
$ git branch -vv
master 1ae2a45 [origin/master: ahead 2] deploying index fix
* dev f8674d9 [origin/dev: ahead 3, behind 1] this should do it。
小明推送的接下来的操作,哪些是正确的( )
选项:
A:git push origin dev
B:
B: git fetch; git merge origin/dev; push origin dev
C:
C: git pull; git push origin dev
D:
D: git pull --rebase; git push origin dev
发布时间:2024-04-10 14:40:13