config-bootstrap/config.d/git.bash

23 lines
402 B
Bash
Raw Normal View History

2023-06-07 09:45:55 +02:00
#!/bin/bash
# Configuration GIT
git config --global user.name "Xavier Logerais"
git config --global user.email "xavier@logerais.com"
git config --global rerere.enabled 1
git config --global merge.conflictstyle diff3
cat <<EOF >~/.gitignore
### asdf ###
.tool-versions
### mise ###
.mise.toml
### direnv ###
.direnv
.envrc
### python ###
.venv
EOF
git config --global core.excludesfile ~/.gitignore