Arshad Mehmood

Search the blog

    Today I Learned

    Ignore local commits and pull repository from the remote branch

    git

    Just ignore the local commits and pull from the branch!

    Reset:

    git reset --hard origin/master

    Pull changes

    git pull origin master