Arshad Mehmood

Search the blog

    Today I Learned

    Undo git pull

    git

    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