Skip to content

Instantly share code, notes, and snippets.

@Farmatique
Created October 3, 2018 09:09
Show Gist options
  • Save Farmatique/c67f89dda25f029954d7374127cf161c to your computer and use it in GitHub Desktop.
Save Farmatique/c67f89dda25f029954d7374127cf161c to your computer and use it in GitHub Desktop.
Reset and sync local repository with remote branch
git fetch origin && git reset --hard origin/master && git clean -f -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment