Last active
February 21, 2024 01:26
-
-
Save mparker17/3144669 to your computer and use it in GitHub Desktop.
$XDG_CONFIG_HOME/git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
fml = reset --hard HEAD | |
hist = log --pretty=format:\"%C(cyan)%h %C(green)%ad%Creset | %s %C(yellow)%d %C(magenta)[%an]\" --graph --date=short | |
s = status | |
st = status | |
sta = status | |
stat = status | |
statu = status | |
stats = status | |
unstage = rm --cached -r | |
branhc = branch | |
rbanch = branch | |
dclean = clean -dfx --exclude=web/sites/default/settings.php --exclude=web/sites/default/settings.local.php # --exclude=web/sites/default/settings.ddev.php --exclude=.ddev --exclude=.idea | |
[branch] | |
autosetuprebase = always | |
[blame] | |
coloring = highlightRecent | |
[color] | |
ui = auto | |
[color "blame"] | |
highlightRecent = dim white,30 month ago,dim magenta,24 month ago,dim blue,18 month ago,dim cyan,15 month ago,dim green,12 month ago,dim yellow,9 month ago,dim red,6 month ago,bold magenta,3 month ago,bold blue,2 month ago,bold cyan,6 week ago,bold green,4 week ago,bold yellow,2 week ago,bold red | |
[color "decorate"] | |
HEAD = cyan | |
remoteBranch = red bold | |
stash = yellow | |
tag = blue bold | |
[color "diff"] | |
frag = white blue | |
meta = black yellow | |
[color "grep"] | |
filename = magenta | |
lineNumber = green | |
[core] | |
excludesfile = ~/.config/git/ignore | |
# editor = nvim | |
# pager = delta | |
[commit] | |
# gpgSign = true | |
verbose = true | |
[delta] | |
# dark = true | |
decorations = true | |
# line-numbers = true | |
navigate = true | |
# side-by-side = true | |
syntax-theme = Coldark-Dark | |
plus-style = syntax "#003800" | |
minus-style = syntax "#3f0001" | |
[delta "decorations"] | |
commit-decoration-style = bold yellow box ul | |
file-style = bold yellow ul | |
file-decoration-style = none | |
hunk-header-decoration-style = cyan box ul | |
[delta "line-numbers"] | |
line-numbers-left-style = cyan | |
line-numbers-right-style = cyan | |
line-numbers-minus-style = 124 | |
line-numbers-plus-style = 28 | |
[diff] | |
algorithm = histogram | |
colorMoved = default | |
indentHeuristic = true | |
renameLimit = 10000 | |
renames = copies | |
statGraphWidth = 8 | |
[fetch] | |
fsckobjects = true | |
writeCommitGraph = true | |
[help] | |
autocorrect = prompt | |
[init] | |
defaultBranch = main | |
[interactive] | |
# diffFilter = delta --color-only | |
[merge] | |
# NOTE: zdiff3 requires Git 2.35 or higher. Use zdiff otherwise. | |
conflictstyle = zdiff3 | |
[pull] | |
# ff = only | |
rebase = true | |
twohead = ort | |
[push] | |
default = simple | |
gpgSign = if-asked | |
[rebase] | |
# autosquash = true | |
# autostash = true | |
missingCommitsCheck = warn | |
[receive] | |
fsckObjects = true | |
[rerere] | |
enabled = true | |
[tag] | |
foreSignAnnotated = true | |
[transfer] | |
fsckobjects = true | |
[user] | |
# name = TODO | |
# email = TODO | |
# signingkey = TODO | |
# useConfigOnly = true | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put at $XDG_CONFIG_HOME/git/ignore | |
# See also https://github.com/github/gitignore/tree/master/Global | |
# | |
# Operating systems / desktop environments. | |
# | |
# Linux. | |
*~ | |
.directory | |
.fuse_hidden* | |
.nfs* | |
.Trash-* | |
# macOS. | |
._* | |
._.DS_Store | |
.apdisk | |
.AppleDB | |
.AppleDesktop | |
.AppleDouble | |
.com.apple.timemachine.donotpresent | |
.DocumentRevisions-V100 | |
.DS_Store | |
.fseventsd | |
.Icon* | |
.LSOverride | |
.Spotlight-V100 | |
.TemporaryItems | |
.Trashes | |
.VolumeIcon.icns | |
Network Trash Folder | |
Temporary Items | |
# Windows. | |
$RECYCLE.BIN/ | |
[Dd]esktop.ini | |
ehthumbs.db | |
ehthumbs_vista.db | |
Thumbs.db | |
Thumbs.db:encryptable | |
*.stackdump | |
# | |
# Editors/IDEs. | |
# | |
# JetBrains IDE (PHPStorm, etc.). | |
.idea/* | |
*.iws | |
# LibreOffice. | |
.~lock.*# | |
# TextMate. | |
*.tmproj | |
*.tmproject | |
tmtags | |
# Vi/Vim. | |
[._]*.s[a-v][a-z] | |
!*.svg | |
[._]*.sw[a-p] | |
[._]s[a-rt-v][a-z] | |
[._]ss[a-gi-z] | |
[._]sw[a-p] | |
Session.vim | |
Sessionx.vim | |
.netrwhist | |
tags | |
[._]*.un~ | |
# Visual Studio Code. | |
.vscode/* | |
*.code-workspace | |
# | |
# Web development. | |
# | |
# Drupal. | |
sites/*/settings.local.php | |
sites/*/files | |
# Sass. | |
.!* | |
# SQL. | |
*.sql | |
*.sql.* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment