Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ローカル リポジトリから受信するたびに受信プッシュでブランチの名前を識別したいと考えています。更新フックでブランチ名を使用する予定です。Pls はこれに対処する方法を教えてください。
ブランチ名は、更新前フックの最初の引数です。2 番目が古いリビジョンで、3 番目が新しいリビジョンです。これらの最後の 2 つの引数は、プッシュされるグラフの範囲を示します。