什么是git命令?什么是分期:主人?主要部分让我失望。我的分支怎么能在它下面/里面有一个主人?
git push my-staging it-staging:master
答案 0 :(得分:0)
如果您运行git push --help
,您将找到以下示例
git push origin HEAD:master
Push the current branch to the remote ref matching master in the origin
repository. This form is convenient to push the current branch without
thinking about its local name.
对于您的问题,it-staging:master
表示将您的本地分支it-staging
推送到远程分支master
。