/ programming

Useful Git Aliases

In ~/.gitconfig:

push-harder = push origin HEAD --force

pull-harder = !git reset --hard HEAD && git pull

fuck-it = !git add . && git commit -m "Everything is terrible" && git push origin master --force

oops = reset --hard HEAD

This list is continuously updated.