2

I'm using TortoiseGit and my default refernces path is refs/heads/. Someone using Zend Studio is claiming the he pushed something to my repository, but ZS pushes to refs/for/refs/head/master by default.

I tried git ls-remote command, it shows that all references point to refs/heads. How can I check if there is something in refs/for/refs/ ?

4

1 に答える 1

0

eGit/ZendStudio 9 で生成された Refspec はどういう意味ですか? HEAD:refs/for/refs/heads/masterで説明したように、ZS は Gerrit に対してその種の ref を使用します。

そのようなrefspecでコミットがプッシュされたかどうかを確認するには、次を使用できますgit ls-remoteこの質問のように):

git ls-remote /url/to/your/:company/project.git ./.

( を入れるmasterと、コミットのみが表示されxxx/masterます: ' ./.' は参照のより一般的なテンプレートです)

于 2013-09-13T13:47:44.610 に答える