14
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

EgitでCommit時のコミッター設定

Posted at

はじめに

eclipseのEgitでGitHubにpushした際にcommitユーザがGitHubのユーザにならず試行錯誤したので備忘録.

結論

gitconfigにusername/emailを設定する.

手順

  1. eclipse 【ウィンドウ】->【設定】->【チーム】->【Git】->【構成】を開く.
  2. 【ユーザ設定】に【user.email】【user.name】をキーにGitHubに設定している情報を追加.
    eclipse_git構成.png
  3. 適当にリポジトリに変更を加えてGitステージングを確認すると右下の【作成者】【コミッター】の値が設定した値になっている.
  4. GitHubにPushしてcommitユーザを確認.
14
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?