Amrainder's Tech Notes
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment