Skip to content

Instantly share code, notes, and snippets.

@Appendme
Created April 25, 2024 03:19
Show Gist options
  • Save Appendme/8e33a44183b906790976b1fc844651ba to your computer and use it in GitHub Desktop.
Save Appendme/8e33a44183b906790976b1fc844651ba to your computer and use it in GitHub Desktop.
.gitconfig
[core]
autocrlf = input
commentChar = ";"
[alias]
ss = status
cc = checkout
lon = log --oneline
ds = diff --staged
df = diff
rs = restore --staged
b = branch
bd = branch -D
cam = commit --amend
puf = push --force
cp = cherry-pick
bm = branch -M
mm = checkout master
chmod = update-index --chmod=
chmodx = update-index --chmod=+x
sp = status --porcelain=2
[push]
autoSetupRemote = true
[credential]
helper = wincred
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment