git yeet

Did you know you can configure custom git aliases as shortcuts for git commands? They are handy and allow you to super-charge your terminal ninja skills.

My newest addition is git yeet. It is really just a force-push. Then I also added git unyeet with is the complete opposite - a hard reset.

How? Add the following to yout ~/.gitconfig:

[alias]
    yeet = push --force
    unyeet = reset --hard origin

and you’re free to yeet your stuff to a remote repository. yeeting is dangerous, the urban dictionary defines it as

To discard an item at high velocity

Use it at your own risk and apply common sense. yeet!