1
1
Fork 0

Added gitconfig file, adjusted readme, added configs

This commit is contained in:
Ava Gaiety W 2024-02-17 12:13:54 -06:00
parent 3a304b2857
commit 057c5753a7
2 changed files with 38 additions and 4 deletions

33
git/.gitconfig Normal file
View file

@ -0,0 +1,33 @@
[user]
name = Ava Gaiety W.
email = ava@wroten.me
[core]
editor = nvim
pager = delta
[config]
name = Ava Gaiety Wroten
email = ava@wroten.me
[push]
default = current
followtags = true
[merge]
conflictstyle = zdiff3
[init]
defaultBranch = main
[help]
autocorrect = prompt
[interactive]
diffFilter = delta --color-only
[delta]
side-by-side = true
hyperlinks = true
light = false
navigate = true # use n and N to move between diff sections
theme = Nord
features = decorations
[diff]
algorithm = histogram
[branch]
sort = -committerdate
[tag]
sort = taggerdate

View file

@ -8,9 +8,10 @@ Some basic git configuration steps
Follow SSH steps for Github and Gitlab for adding a [ssh key](https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh) Follow SSH steps for Github and Gitlab for adding a [ssh key](https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh)
Install `delta` https://dandavison.github.io/delta/installation.html
Copy the local `.gitconfig` file into your home directory:
```bash ```bash
git config --global config.name "Ava Gaiety Wroten" cp ./git/.gitconfig ~/.gitconfig
git config --global config.email "ava@wroten.me"
git config --global core.editor "nvim"
git config --global push.default current
``` ```