mirror of
https://github.com/itme-brain/git.git
synced 2026-05-08 07:20:11 -04:00
init
This commit is contained in:
commit
8b16b7047c
3 changed files with 51 additions and 0 deletions
9
README.md
Normal file
9
README.md
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
# Git Config
|
||||||
|
|
||||||
|
My global git configuration.
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone git@github.com:itme-brain/git.git ~/.config/git
|
||||||
|
```
|
||||||
28
config
Normal file
28
config
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
[init]
|
||||||
|
defaultBranch = master
|
||||||
|
|
||||||
|
# Use vimdiff for diffs and merge conflicts
|
||||||
|
[diff]
|
||||||
|
tool = vimdiff
|
||||||
|
|
||||||
|
[merge]
|
||||||
|
tool = vimdiff
|
||||||
|
|
||||||
|
[mergetool]
|
||||||
|
keepBackup = false
|
||||||
|
|
||||||
|
[mergetool "vimdiff"]
|
||||||
|
trustExitCode = true
|
||||||
|
|
||||||
|
[user]
|
||||||
|
name = Bryan Ramos
|
||||||
|
email = bryan@ramos.codes
|
||||||
|
signingKey = F1F3466458452B2DF351F1E864D12BA95ACE1F2D
|
||||||
|
|
||||||
|
# Auto-set upstream on first push
|
||||||
|
[push]
|
||||||
|
autoSetupRemote = true
|
||||||
|
|
||||||
|
# Enable per-project with: git config --local commit.gpgSign true
|
||||||
|
[commit]
|
||||||
|
gpgSign = false
|
||||||
14
ignore
Normal file
14
ignore
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
# JavaScript / Node
|
||||||
|
node_modules
|
||||||
|
|
||||||
|
# Nix
|
||||||
|
.direnv
|
||||||
|
result
|
||||||
|
|
||||||
|
# Haskell
|
||||||
|
dist-newstyle
|
||||||
|
|
||||||
|
# Nuxt
|
||||||
|
.nuxt/
|
||||||
|
.output/
|
||||||
|
dist
|
||||||
Loading…
Add table
Add a link
Reference in a new issue