1
0

【備忘録】Git Config値を削除する方法

Posted at

はじめに

Git Config値を削除する方法を下記に記載します。
コード①にたどり着く前に消えないかなと思いコード②を試しましたが、0桁が設定されてしまい、設定値を削除することはできませんでした。

コード①:表題のコードです。
コード②:リネームコードです。

コード

コード①
git config --global --unset user.name
git config --global --unset user.email
コード②
git config --global user.name ""
git config --global user.email ""
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