Last active
May 27, 2024 11:07
-
-
Save kasperhartwich/dd0afc65c669ea9dd86ce525ffb3e42a to your computer and use it in GitHub Desktop.
.gitconfig
This file contains hidden or 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
[user] | |
name = Kasper Hartwich | |
email = [email protected] | |
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red | |
new = cyan | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = cyan | |
[alias] | |
st = status | |
ci = commit | |
co = checkout | |
cp = cherry-pick | |
br = branch | |
pr = pull --rebase | |
pp = pull --rebase && git push | |
last = log -1 HEAD | |
unstage = reset HEAD -- | |
b = branch | |
staged = diff --cached | |
amend = commit --amend | |
uncommit = reset HEAD^ | |
yolo = reset --hard | |
fire = checkout master && git merge develop && git push && git checkout develop && git push | |
cleanup = fetch origin --prune | |
[core] | |
excludesfile = ~/.gitignore | |
[push] | |
default = current | |
autoSetupRemote = true | |
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
[init] | |
defaultBranch = main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment