Answers for "npm revert commit that has been pushed"

6

git undo pushed commit

git reset <previous label or sha1>
git commit -am "commit message"
git push -f <remote-name> <branch-name>  //  git push -f origin master
Posted by: Guest on March-06-2020
0

how to undo a bunch of commit sent that was pushed

git revert <oldest_commit_hash>..<latest_commit_hash>
Posted by: Guest on July-30-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language