my git config on $XDG_CONFIG_HOME/git/
cd ~/.config # $XDG_CONFIG_HOME or $HOME/.config
git clone https://github.com/officel/config_git.git ./git
# or I do it this way
cd ~/repos/github.com/officel/
git clone https://github.com/officel/config_git.git
ln -s ~/repos/github.com/officel/config_git/ ~/.config/git
- install id_rsa (manual)
- fix git config remote.origin.url after clone
- Git - git-config Documentation
- GitAlias/gitalias: Git alias commands for faster easier version control
- github/gitignore: A collection of useful .gitignore templates
- Conventional Commits
- XDG Base Directory Specification
- チームでは ignore しないが、個人では ignore したい
- 個人の共通設定(このリポジトリの ignore のように)では ignore しないが、特定のリポジトリでは ignore したい
- (リポジトリの)
.git/info/exclude
に追加
- Windows ユーザの同僚氏のグローバルなgitの設定の場所がぱっとわからなかった
git config --show-origin --show-scope --list
- Git - Git Configuration
~/.gitconfig
か~/.config/git/config
The next place Git looks is the ~/.gitconfig (or ~/.config/git/config) file, which is specific to each user. You can make Git read and write to this file by passing the --global option.