Skip to content

Instantly share code, notes, and snippets.

@Asjas
Last active January 24, 2023 22:54
Show Gist options
  • Save Asjas/1bd085de933ca1f1b2b0ff5c2653692a to your computer and use it in GitHub Desktop.
Save Asjas/1bd085de933ca1f1b2b0ff5c2653692a to your computer and use it in GitHub Desktop.
.gitconfig
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[user]
name = A-J Roos
email = asjas@hey.com
signingkey = 469CC0CAEEA7DB94
[alias]
a = add
ca = commit -a
cam = commit -am
cm = commit -m
csm = commit -s -m
s = status -s
pom = push origin master
l = log --oneline --decorate --graph
lg = log --oneline --decorate --graph --all
ls = log --oneline --decorate --graph --stat
lt = log --graph --decorate --pretty=format:'%C(yellow)%h%Creset%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an%Creset'
co = checkout
cob = checkout -b
cc = rev-list --count
br = branch
ci = commit
fp = fetch --prune --all
prune = gc --prune=now --aggressive
smur = submodule update --remote --merge
unstage = reset HEAD --
last = log -1 HEAD
open = "!f() { URL=$(git config remote.${1-origin}.url | sed -e 's#^.*@#https://#' -e 's#.git$##' -e 's#:#/#2'); git web--browse $URL; }; f"
[core]
editor = code-insiders --wait
excludesfile = /home/asjas/.gitignore-global
[help]
autocorrect = 1
[pull]
rebase = true
[init]
defaultBranch = main
[commit]
gpgsign = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment