Showing posts with label problem. Show all posts
Showing posts with label problem. Show all posts

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