30 lines
538 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"
2024-12-20 08:46:28 +00:00
git config --global credential.helper cache
2023-06-07 09:45:55 +02:00
git config --global merge.conflictstyle diff3
2024-12-20 08:46:28 +00:00
git config --global rerere.enabled 1
cat <<EOF >~/.gitignore
### asdf ###
.tool-versions
### mise ###
.mise.toml
### direnv ###
.direnv
.envrc
### python ###
.venv
EOF
2024-12-20 08:46:28 +00:00
cat <<EOF >~/.gitattributes
EOF
git config --global core.excludesfile ~/.gitignore
2024-12-20 08:46:28 +00:00
git config --global core.attributesfile ~/.gitattributes