Skip to content

Instantly share code, notes, and snippets.

@FabreFrederic
Last active November 20, 2020 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save FabreFrederic/5e037b3b18c52cd9891b to your computer and use it in GitHub Desktop.
Save FabreFrederic/5e037b3b18c52cd9891b 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