feat: ✨ Add git config files
This commit is contained in:
parent
6f9b47e058
commit
3d0d0d8002
3 changed files with 166 additions and 0 deletions
116
git/config
Normal file
116
git/config
Normal file
|
@ -0,0 +1,116 @@
|
||||||
|
[user]
|
||||||
|
email = ayushdumasia00@gmail.com
|
||||||
|
name = Ayush Dumasia
|
||||||
|
|
||||||
|
[core]
|
||||||
|
editor = vim
|
||||||
|
compression = 9
|
||||||
|
whitespace = error
|
||||||
|
preloadindex = true
|
||||||
|
|
||||||
|
[advice]
|
||||||
|
addEmptyPathspec = false
|
||||||
|
pushNonFastForward = false
|
||||||
|
statusHints = true
|
||||||
|
|
||||||
|
[url "git@github.com:ad1822/"]
|
||||||
|
insteadOf = "ad:"
|
||||||
|
|
||||||
|
[url "git@github.com:"]
|
||||||
|
insteadOf = "gh:"
|
||||||
|
|
||||||
|
[init]
|
||||||
|
defaultBranch = dev
|
||||||
|
|
||||||
|
[diff]
|
||||||
|
context = 3
|
||||||
|
renames = copies
|
||||||
|
interHunkContext = 10
|
||||||
|
|
||||||
|
# [pager]
|
||||||
|
# diff = diff-so-fancy | $PAGER
|
||||||
|
|
||||||
|
# [diff-so-fancy]
|
||||||
|
# markEmptyLines = true
|
||||||
|
|
||||||
|
[color "diff"]
|
||||||
|
meta = black bold
|
||||||
|
fraq = magenta
|
||||||
|
context = white
|
||||||
|
whitespace = yellow reverse
|
||||||
|
old = red
|
||||||
|
|
||||||
|
[interactive]
|
||||||
|
diffFilter = diff-so-fancy --patch
|
||||||
|
singleKey = true
|
||||||
|
|
||||||
|
[commit]
|
||||||
|
gpgSign = false
|
||||||
|
template = ~/.config/git/template
|
||||||
|
|
||||||
|
[push]
|
||||||
|
autoSetupRemote = true
|
||||||
|
default = current
|
||||||
|
followTags = true
|
||||||
|
gpgSign = false
|
||||||
|
|
||||||
|
[pull]
|
||||||
|
default = current
|
||||||
|
rebase = true
|
||||||
|
|
||||||
|
[rebase]
|
||||||
|
autoStash = true
|
||||||
|
missingCommitsCheck = warn
|
||||||
|
|
||||||
|
[submodule]
|
||||||
|
fetchJobs = 16
|
||||||
|
|
||||||
|
[color "blame"]
|
||||||
|
highlightRecent = black bold,1 year ago,white,1 month ago,default,7 days ago,blue
|
||||||
|
|
||||||
|
[log]
|
||||||
|
abbrevCommit = true
|
||||||
|
graphColors = blue,yellow,cyan,magenta,green,red
|
||||||
|
|
||||||
|
[blame]
|
||||||
|
coloring = highlightRecent
|
||||||
|
date = relative
|
||||||
|
|
||||||
|
[status]
|
||||||
|
branch = true
|
||||||
|
short = true
|
||||||
|
showStash = true
|
||||||
|
showUntrackedFiles = all
|
||||||
|
|
||||||
|
[color "branch"]
|
||||||
|
current = magenta
|
||||||
|
local = default
|
||||||
|
remote = yellow
|
||||||
|
upstream = green
|
||||||
|
plain = blue
|
||||||
|
|
||||||
|
[alias]
|
||||||
|
st = status
|
||||||
|
ss = status -s
|
||||||
|
ci = commit
|
||||||
|
co = checkout
|
||||||
|
br = branch -a
|
||||||
|
aa = add -A
|
||||||
|
ap = add --patch
|
||||||
|
cdf = clean -df
|
||||||
|
|
||||||
|
lo = log --oneline
|
||||||
|
l = log --all --graph --decorate --oneline --abbrev-commit --date=short
|
||||||
|
r = remote
|
||||||
|
conf = config --global --edit
|
||||||
|
df = diff
|
||||||
|
structure = log --oneline --simplify-by-decoration --graph --all
|
||||||
|
slog = log --pretty=format:'%C(auto)%h %C(red)%as %C(blue)%aN%C(auto)%d%C(green) %s'
|
||||||
|
s5 = slog -5 --graph
|
||||||
|
s10 = slog -10
|
||||||
|
|
||||||
|
# [gpg]
|
||||||
|
# format = opengpg
|
||||||
|
|
||||||
|
[gpg "ssh"]
|
||||||
|
program = ssh-keygen
|
16
git/ignore
Normal file
16
git/ignore
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Python specific
|
||||||
|
.mypy_cache/
|
||||||
|
.pytest_cache/
|
||||||
|
__pycache__/
|
||||||
|
.hypothesis/
|
||||||
|
.ruff_cache/
|
||||||
|
.ropeproject/
|
||||||
|
|
||||||
|
# Rust specific
|
||||||
|
target/
|
||||||
|
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# Zig specific
|
||||||
|
.zig-cache/
|
||||||
|
zig-out/
|
34
git/template
Normal file
34
git/template
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# feat: ✨
|
||||||
|
# feat: 🔍
|
||||||
|
# feat: 🔗
|
||||||
|
# feat: 🔒
|
||||||
|
|
||||||
|
# fix: 🐛
|
||||||
|
# fix: 🐞
|
||||||
|
# fix: 🩹
|
||||||
|
# fix: 🚑️
|
||||||
|
|
||||||
|
# style: 💅
|
||||||
|
# style: 🎨
|
||||||
|
# style: 💄
|
||||||
|
|
||||||
|
# ci: 🦊
|
||||||
|
# ci: 📦
|
||||||
|
|
||||||
|
# deploy: 🚀
|
||||||
|
# deploy: 📦
|
||||||
|
|
||||||
|
# chore: 🧹
|
||||||
|
# chore: 🔧
|
||||||
|
# chore: ⚙️
|
||||||
|
# docs: 📜
|
||||||
|
|
||||||
|
# refactor: 🔨
|
||||||
|
# perf: 🚀
|
||||||
|
|
||||||
|
# test: 🚦
|
||||||
|
# debug: 🧪
|
||||||
|
|
||||||
|
# BREAKING CHANGE: 🚨
|
||||||
|
# BREAKING CHANGE: 💥
|
||||||
|
# BREAKING CHANGE: 💣
|
Loading…
Add table
Add a link
Reference in a new issue