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}
548k questions
547k answers
4 comments
86.3k users