最終更新:2023-09-22 (金) 14:33:58 (78d)
git config
Top / git config
Get and set repository or global options
https://git-scm.com/docs/git-config
確認
- git config --list?
- git config -l
保存先
--global Linux/~/.gitconfig? C:\Users\ユーザ名\.gitconfig --system Linux/etc/gitconfig? C:\ProgramData\Git\configとC:\Program Files\Git\mingw64\etc\gitconfig ローカル .git/config
git config credential
- git config credential.helper?
- git config credential.<URL>.*
設定
git config --global user.email "user@vm" git config --global user.name "user"
core.editor merge.tool
core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true core.ignorecase=true core.precomposeunicode=true remote.origin.url=git://github.com/hoge/hoge.git remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* branch.master.remote=origin branch.master.merge=refs/heads/master