Skip to content

Instantly share code, notes, and snippets.

@dibmartins
Last active December 30, 2020 14:22
Show Gist options
  • Save dibmartins/40755e3a6b720d035235d4511dc0f7d3 to your computer and use it in GitHub Desktop.
Save dibmartins/40755e3a6b720d035235d4511dc0f7d3 to your computer and use it in GitHub Desktop.
git fetch --all
git reset --hard
git pull origin <your_branch>
git stash save --keep-index --include-untracked
# Apagar arquivos que não monitorados:
git clean -df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment