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
|
2024-06-13 10:32:07 +02:00
|
|
|
|
|
|
|
cat <<EOF >~/.gitignore
|
2024-06-21 18:58:49 +02:00
|
|
|
### asdf ###
|
2024-06-13 10:32:07 +02:00
|
|
|
.tool-versions
|
2024-06-21 18:58:49 +02:00
|
|
|
### mise ###
|
|
|
|
.mise.toml
|
|
|
|
### direnv ###
|
2024-06-13 10:32:07 +02:00
|
|
|
.direnv
|
2024-06-21 18:58:49 +02:00
|
|
|
.envrc
|
|
|
|
### python ###
|
|
|
|
.venv
|
2024-06-13 10:32:07 +02:00
|
|
|
EOF
|
|
|
|
|
|
|
|
git config --global core.excludesfile ~/.gitignore
|