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.
2 つの異なるリモートにプッシュするローカル リポジトリがあります。remote_1 にプッシュするときに email_1 を使用し、remote_2 にプッシュするときに email_2 を使用するように git を構成することは可能ですか?
プッシュするのになぜ「メール」が必要なのですか? ユーザー名と電子メールの組み合わせについて言及している場合は、コミット時に使用されます。押すときではありません。リモートに対して認証するときに使用するユーザー名を参照している場合は、使用しているプロトコルによって異なります。