git 4 (git config)

git configです。

git config

git logで表示させる情報になります。自分はこう設定するというのを決めておいた方が良いです。


$ git config --global user.name "jn"
$ git config --global user.email "jn@example.address"

nanoがエディターと設定されている場合はvimにします。


$ git config --global core.editor vim

会社などでproxyを通さないといけない場合。


$ git config --global http.proxy http://proxy_server_name:port_number
$ git config --global https.proxy https://proxy_server_name:port_number

参考

git-log





«       »
カテゴリーCVS