Skip to content

Instantly share code, notes, and snippets.

@mavaji
Created April 17, 2022 05:58
Show Gist options
  • Select an option

  • Save mavaji/9e297990d73b482ae5f705e54ae49202 to your computer and use it in GitHub Desktop.

Select an option

Save mavaji/9e297990d73b482ae5f705e54ae49202 to your computer and use it in GitHub Desktop.
Git extract subdirectory
git filter-repo --subdirectory-filter <folder_name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment