我创建了一个跟踪分支,所以 whowasout.com 跟踪了 whowasout.com/master
$ git remote -v
origin git@github.com:venkatd/whowentout.git (fetch)
origin git@github.com:venkatd/whowentout.git (push)
whowasout.com git@git01.phpfog.com:whowasout.com (fetch)
whowasout.com git@git01.phpfog.com:whowasout.com (push)
$ git branch -vv
master c33b5dc [origin/master] Merge branch 'whowasout.com'
* whowasout.com 7b6b240 [whowasout.com/master: ahead 1] print statement in test.
php
当我在 whowasout.com 分支中提交一些更改并执行“git push”时,master 被推送到 origin/master。这是预期的行为吗?我期待 whowasout.com 推送到 whowasout.com/master。
为了推动我的更改,我目前键入“git push whowasout.com whowasout.com:master”,但我认为跟踪会使这个过程更快。我在正确的轨道上吗?