I made a pull request in one of the repositories. But forget to hide the credentials in .env. Now I want to undo that pull request asap. What can I do?
You can do git reset --keep HEAD@{1} which discards your last pull.
git reset --keep HEAD@{1}
1.4m articles
1.4m replys
5 comments
57.0k users