Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: Oh shit, I pushed cringe, how can I hide my mistake? #134

Open
zabealbe opened this issue Jun 25, 2022 · 1 comment
Open

add: Oh shit, I pushed cringe, how can I hide my mistake? #134

zabealbe opened this issue Jun 25, 2022 · 1 comment

Comments

@zabealbe
Copy link

There are two kinds of people:
the ones that pushed cringe and the ones that use this

git reset --soft HEAD~1
git push --force

use with caution and with the supervision of an adult.

@zabealbe zabealbe changed the title Oh shit, I pushed cringe, how can I hide my mistake? add: Oh shit, I pushed cringe, how can I hide my mistake? Jun 25, 2022
@MattJenko
Copy link

This is a good way to blow away everyone else's changes on a branch.

If it's your own branch, have at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants