feat: add git

This commit is contained in:
Adam 2021-10-14 13:05:41 -06:00
parent b5aadeccf3
commit 5c82ff0f54
3 changed files with 96 additions and 0 deletions

2
git/.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# Automatically normalize line endings for all text-based files
* text=auto

47
git/.gitconfig Normal file
View File

@ -0,0 +1,47 @@
[user]
email = foobar@adamsdesk.com
name = Adam
[core]
autocrlf = false
whitespace = -indent-with-non-tab,trailing-space,cr-at-eol
[color]
branch = always
diff = always
editor = nano
grep = always
interactive = always
pager = true
showbranch = auto
status = auto
ui = always
[color "interactive"]
error = red bold
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow
frag = magenta
old = red
new = green
whitespace = white reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
branch = magenta
[diff]
tool = diff
[merge]
tool = diff
[init]
defaultBranch = main

47
git/.gitignore vendored Normal file
View File

@ -0,0 +1,47 @@
#
# dotphiles : https://github.com/dotphiles/dotphiles
#
# Git global ignores
#
# Authors:
# Ben O'Hara <bohara@gmail.com>
#
# Compiled source
*.pyc
*.pyo
# IDE specific
dwsync.xml
*.tmp
*.wpr
*.project
*.cproject
*.tmproj
*.tmproject
*.vi
*.komodoproject
.komodotools
nbproject
# OS generated files
._*
.cache
.Spotlight-V100
.Trashes
.DS_Store
desktop.ini
ehthumbs.db
Thumbs.db
# Other dev-related files
*.bak
*.orig
*.sass-cache
.directory
*~
.svn/*
*.swp
svn-commit.*
tags
TAGS