Skip to content

Developer guide: Cleaning up your local repo

drkitty edited this page Jan 23, 2015 · 1 revision
  • Look for untracked files and directories by running git ls-files --others --exclude-standard --directory. (Files named in .gitignore are not shown.)
  • Upgrade Python packages by running pip install -Ur requirements/dev.txt.
  • Prune local branches whose remote branches were deleted by running git remote prune origin. (Replace origin with whatever your fork's remote is named.)