Skip to content

Instantly share code, notes, and snippets.

@jrotello
Last active August 29, 2015 14:21
Show Gist options
  • Save jrotello/86692721fcb65962bd89 to your computer and use it in GitHub Desktop.
Save jrotello/86692721fcb65962bd89 to your computer and use it in GitHub Desktop.
Clean git repository, but exclude local.config file.
# Git Repo
git clean -d -x -e Development/local.config -f
#TFS Repo
tfpt treeclean /noprompt /recursive /exclude:local.config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment