Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@rendegosling
Last active December 8, 2022 23:09
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 rendegosling/2d0dcbc8c0a1cfc40614ddf5c5b24014 to your computer and use it in GitHub Desktop.
Save rendegosling/2d0dcbc8c0a1cfc40614ddf5c5b24014 to your computer and use it in GitHub Desktop.
[alias]
co = checkout
ec = config --global -e
up = !git pull --rebase --prune $@ && git submodule update --init --recursive
cob = checkout -b
cm = !git add -A && git commit -m
rb = !git pull --rebase
save = !git add -A && git commit -m 'SAVEPOINT'
wip = commit -am "WIP"
undo = reset HEAD~1 --mixed
amend = commit -a --amend
wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard
l = !git log --oneline
rbm = !git fetch && git rebase origin/master
cf = !git commit --fixup
ra = !git rebase -i --autosquash
db = !git branch -D
justclean = ! bash -c \"source ~/.bashrc && git_clean_untracked_safely\"
localprune = ! bash -c \"source ~/.bashrc && git_clean_local_branches\"
[user]
email = renlesterdg@gmail.com
name = Ren
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment