2
2

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.

git for windows 初期設定

Last updated at Posted at 2016-07-08

git for windowsの初期設定

インストールされている「Git Bash」を使います。

名前とメールアドレスの設定

$ git config --global user.name "Firstname Lastname"
$ git config --global user.email "your_email@example.com" 

コマンド出力を読みやすくする

$ git config --global color.ui auto 

設定が反映されたか確認

$ cat ./gitconfig
[user]
        name = Firstname Lastname
        email = your_email@example.com
[color]
        ui = auto
[core]
        autocrlf = true
        excludesfile = C:\\Users\\username\\Documents\\gitignore_global.txt
        quotepath = false
[gui]
[gui]

2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?