Skip to content

Instantly share code, notes, and snippets.

View satheyogesh's full-sized avatar

YOGESH SATHE satheyogesh

View GitHub Profile
@nasirkhan
nasirkhan / git command.markdown
Last active May 12, 2022 03:17
`git` discard all local changes/commits and pull from upstream

git discard all local changes/commits and pull from upstream

git reset --hard origin/master

git pull origin master