Skip to content

Instantly share code, notes, and snippets.

@tahq69
Last active August 31, 2021 06:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tahq69/615fd9a00461ffa28c5aa348526e6aa7 to your computer and use it in GitHub Desktop.
Save tahq69/615fd9a00461ffa28c5aa348526e6aa7 to your computer and use it in GitHub Desktop.
# cleaning up old remote git branches
> git remote prune origin

# To remove directories and ignored files
git clean -fXd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment