Skip to content

Instantly share code, notes, and snippets.

@acouch
Last active August 18, 2022 14:08
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 acouch/7176e1cbf2fd9706c94aad30d9f67280 to your computer and use it in GitHub Desktop.
Save acouch/7176e1cbf2fd9706c94aad30d9f67280 to your computer and use it in GitHub Desktop.
[alias]
co = checkout
st = status
cm = commit -m
pu = !git push origin `git rev-parse --abbrev-ref HEAD`
po = push origin
lgq = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lg = log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -50
pf = push -f origin
rsh = !git reset --hard origin/`git rev-parse --abbrev-ref HEAD` && git pull
[core]
filemode = false
editor = vim
@themightychris
Copy link

[core]
	editor = code --wait
[pull]
	rebase = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment