Added gitconfig file, adjusted readme, added configs
This commit is contained in:
parent
3a304b2857
commit
057c5753a7
2 changed files with 38 additions and 4 deletions
33
git/.gitconfig
Normal file
33
git/.gitconfig
Normal 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
|
|
@ -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)
|
||||
|
||||
Install `delta` https://dandavison.github.io/delta/installation.html
|
||||
|
||||
Copy the local `.gitconfig` file into your home directory:
|
||||
|
||||
```bash
|
||||
git config --global config.name "Ava Gaiety Wroten"
|
||||
git config --global config.email "ava@wroten.me"
|
||||
git config --global core.editor "nvim"
|
||||
git config --global push.default current
|
||||
cp ./git/.gitconfig ~/.gitconfig
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue