Skip to content

Instantly share code, notes, and snippets.

@msbrime
Last active September 11, 2018 21:04
Show Gist options
  • Save msbrime/924bb1b848096c8761363fc2b6b07eb0 to your computer and use it in GitHub Desktop.
Save msbrime/924bb1b848096c8761363fc2b6b07eb0 to your computer and use it in GitHub Desktop.
Remove leftover files and folders when you switch your working branch
git reset --hard && git clean -f -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment