Friday, November 22, 2013

Problem I faced with git

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



No comments:

Post a Comment