Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 309 Bytes

undo-git-pull-how-to-bring-repos-to-old-state.md

File metadata and controls

17 lines (14 loc) · 309 Bytes

Undo git pull

With Head

git reset --hard 'HEAD@{1}'

With time

git reset --hard master@{"10 minutes ago"}

or

git reset --hard master@{8:30}

For more details, go here: Stackoverflow