Skip to content

Instantly share code, notes, and snippets.

@rlandas
Created November 16, 2012 22:15
Show Gist options
  • Save rlandas/4091376 to your computer and use it in GitHub Desktop.
Save rlandas/4091376 to your computer and use it in GitHub Desktop.
GIT: Reset and delete all uncommitted files and pull the latest from the repository
git reset --hard HEAD;
git clean -f -d;
git pull;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment