Skip to content

Instantly share code, notes, and snippets.

@rudkx
Last active November 16, 2021 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rudkx/39a983773f33729642ddc6c69fdd9767 to your computer and use it in GitHub Desktop.
Save rudkx/39a983773f33729642ddc6c69fdd9767 to your computer and use it in GitHub Desktop.
git config file
[alias]
a = add
br = branch
ch = cherry-pick
ck = diff --check
ca = commit -a -v
co = checkout
conflicts = diff --name-only --diff-filter=U
cs = commit -v
di = diff
ds = diff --staged
fe = fetch -p
find = grep --break --heading --line-number
mb = merge-base
me = merge
mf = merge --ff-only
re = rebase
rei = rebase -i
sg = log --graph --oneline --decorate
st = status -sb
[user]
name = Mark Lacey
email = <<email address>>
[core]
editor = code --wait
[merge]
conflictstyle = diff3
[log]
date = local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment