在这些 git push 命令中指定了哪个分支

问题描述 投票:0回答:0

之间有什么区别:

git push origin HEAD: <name-of-remote-branch> 
git push origin CURRENT_BRANCH_NAME

CURRENT_BRANCH_NAME 是我的local 分支还是remote 分支的名称?

branch local git-push remote-branch
© www.soinside.com 2019 - 2024. All rights reserved.