Skip to content

Instantly share code, notes, and snippets.

@ppazos
Last active April 23, 2024 21:06
Show Gist options
  • Save ppazos/0c0f37156812c5608b5cf9ef460f4abe to your computer and use it in GitHub Desktop.
Save ppazos/0c0f37156812c5608b5cf9ef460f4abe to your computer and use it in GitHub Desktop.
Git Pull Ignoring Local Changes
git fetch --all
git reset --hard origin/master
git pull origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment