Created
June 17, 2021 12:14
-
-
Save d70rr3s/5c18a73781ffb7e80b64fa870ee1b266 to your computer and use it in GitHub Desktop.
My Git configuration
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
# This is Git's per-user configuration file. | |
[alias] | |
last = log -1 --stat | |
cp = cherry-pick | |
co = checkout | |
cl = clone | |
ci = commit | |
cin = commit --no-verify | |
st = status -sb | |
br = branch | |
unstage = reset HEAD -- | |
undo = reset --soft HEAD~1 | |
dc = diff --cached | |
dp = diff --no-color | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %Cblue<%an>%Creset' --abbrev-commit --date=relative --all | |
find = log --pretty=\"format:%Cgreen%H %Cblue%s\" --name-status --grep | |
addu = add -u | |
mg = merge --no-ff | |
stl = stash list | |
sta = stash apply | |
std = stash drop | |
sm = submodule | |
smup = submodule foreach 'latesttag=$(git describe --tags);echo checking out ${latesttag};git checkout ${latesttag}' | |
[color] | |
; I want colors! | |
ui = always | |
[push] | |
default = simple | |
required = true | |
[core] | |
excludesfile = ~/.gitignore | |
# filemode = false | |
# eol = lf | |
autocrlf = input | |
[credential] | |
helper = store --file ~/.git-credentials | |
[commit] | |
cleanup = strip | |
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
[pull] | |
rebase = true | |
[http] | |
sslVerify false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment