Skip to content

Instantly share code, notes, and snippets.

@ecoologic
Created September 30, 2025 06:51
Show Gist options
  • Save ecoologic/cfe91badc2650e55380d935eb4778b2b to your computer and use it in GitHub Desktop.
Save ecoologic/cfe91badc2650e55380d935eb4778b2b to your computer and use it in GitHub Desktop.
[user]
email = [email protected]
name = Erik Ecoologic
[core]
editor = vim
pager = less -R
excludesfile = /home/erik/.gitignore_global
# excludesfile = /home/erik/.gitignore
[branch]
autosetuprebase = always
autosetupmerge = always
[push]
followTags = true
[alias]
praise = blame
l1 = log --oneline
lc = show --summary # Last Commit
stats = shortlog -sn --all
b = branch
bl= "branch --sort=committerdate"
st = status
co = checkout
sw = switch
swm= switch main
d = diff
dc = diff --cached
dno = diff --name-only
dcno = diff --cached --name-only
dnoh = diff --name-only HEAD^
dh = diff HEAD^
aa = add --all
ca = commit --amend
cane = commit --amend --no-edit
cm = commit -m
mm = merge origin main
cwip = commit -m "WIP"
cbroken = commit -m "Broken"
cclean = commit -m 'Cleanup'
rsh = reset --soft HEAD^
pfwl = push --force-with-lease
[init]
defaultBranch = main
templateDir = /home/erik/.git-templates
[help]
format = plain
[pager]
diff = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment