Skip to content

Instantly share code, notes, and snippets.

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 bradlucas/f1179643daca2af789d8219fdf2b00d3 to your computer and use it in GitHub Desktop.
Save bradlucas/f1179643daca2af789d8219fdf2b00d3 to your computer and use it in GitHub Desktop.
Splitting a subfolder out into a new repository
git filter-branch --prune-empty --subdirectory-filter my_folder_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment