I'm new to git and astounded it's so revered considering the complexity of this simple task.
I googled it, and came up with a few results that ultimately said run this command:
git filter-branch --subdirectory-filter your_dir -- -- all
However it results in:
C:\tmp\w2 [master]> git filter-branch --subdirectory-filter IndigoServices -- --all
Usage: git core\git-filter-branch [--env-filter <command>] [--tree-filter <command>]
[--index-filter <command>] [--parent-filter <command>]
[--msg-filter <command>] [--commit-filter <command>]
[--tag-name-filter <command>] [--subdirectory-filter <directory>]
[--original <namespace>] [-d <directory>] [-f | --force]
[<rev-list options>...]
C:\tmp\w2 [master]> git filter-branch --subdirectory-filter IndigoServices -- -- all
fatal: ambiguous argument 'all': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Is there an easy way to do what I'm trying to achieve?