Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • 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