Changed a lots of code for testing, now I want to go back to commit state. All changes will be undone.
git checkout -- .
Checkout a specific commit.
git checkout 'hashvalue'
Force push a revision
git push --force origin development
git checkout -- .
Checkout a specific commit.
git checkout 'hashvalue'
Force push a revision
git push --force origin development
No comments:
Post a Comment