Monday, December 1, 2014

Git - Discard local commits

>git reset --hard origin/master
Instead of origin/master we can go to a particular commit also
>git pull
Already up-to-date.

No comments :

Post a Comment