Skip to content

Instantly share code, notes, and snippets.

@jorge8168711
Created June 6, 2023 23:27
Show Gist options
  • Select an option

  • Save jorge8168711/9bf0282e6447349f1e9d48d12d4abf95 to your computer and use it in GitHub Desktop.

Select an option

Save jorge8168711/9bf0282e6447349f1e9d48d12d4abf95 to your computer and use it in GitHub Desktop.
lg = !git log --pretty=format:\"%C(magenta)%h%Creset -%C(red)%d%Creset %s %C(dim green)(%cr) [%an]\" --abbrev-commit -30
a = add
co = checkout
cob = checkout -b
st = status -sb
mr = merge
cm = commit -mç
cam = commit -a -m
gl = config --global -l
del = branch -D
br = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate
undo = reset HEAD~1 --mixed
res = !git reset --hard
done = !git push origin HEAD
today = log --since=7am --author='Jorge Barron'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment