LoginSignup
1
0

More than 5 years have passed since last update.

gitの自分アカウント設定(リポジトリローカル)

Last updated at Posted at 2018-06-07

gitの自分アカウント設定

開発用とかのアカウント情報がglobalで設定されているとき、リポジトリローカルの設定として上書きするに使う設定。
よく忘れるので...

$ git config --local user.name "Tsuyoshi CHO"
$ git config --local user.email "Tsuyoshi.CHO@Gmail.com"
$ git config --local user.signingkey 55526347D4D76A9F
$ git config --local commit.gpgsign true

必要に合せて、各設定を置き換える


副鍵を指定するなら

$ git config --local user.signingkey 383835010A5BB4C8!

のように!を付ける様子(一応確認してOKだった)

1
0
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
1
0