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.
特定のuser.nameとuser.emailの下にいくつかのプロジェクトを持ち、他のgitユーザー設定を持つ他のプロジェクトを持つことは可能ですか。
取り組む必要があるプロジェクトの種類に基づいて、2 つの異なるユーザー名で開発したいと考えています。それが可能かどうか、またどのように可能か知っていますか?
1 つのリポジトリだけにユーザー名と電子メールを設定するには、通常と同じコマンド (git config --global user.email "EMAIL"およびgit config --global user.name "NAME") を使用しますが、グローバル フラグは使用しません (つまりgit config user.email "EMAIL"およびgit config user.name "NAME")。これにより、ユーザー名と電子メールが、現在のリポジトリに対してのみ指定した値に設定されます。
git config --global user.email "EMAIL"
git config --global user.name "NAME"
git config user.email "EMAIL"
git config user.name "NAME"
重複の可能性: PHP では、「<<<」は何を表していますか? 2 java - JFrame クローズの問題