Signed-off-by: Radu Terec <raduterec@gmail.com>
pull/405/head
Radu Terec 2 years ago committed by Radu Terec
parent 869b9a1fce
commit 5d3c2f3749

@ -147,11 +147,7 @@ you'll still need to do that yourself.
1. Get Python3 from the [Windows Store](https://www.microsoft.com/store/productId/9PJPW5LDXLZ5)
2. Download the latest version of the script from [Github repo](https://github.com/newren/git-filter-repo/blob/main/git-filter-repo) and save it as a python file.
3. Place the python file somewhere in the $Path variables, like: `c:\Program Files\Git\cmd\`
4. Clone the repo you want to filter
5. Navigate inside the repo
6. Filter after _your-subdirectory_ using using: `git filter-repo.py --subdirectory YOUR-SUBDIRECTORY/`
7. Create a remote repo and then add it to the newly filtered file: `git remote add origin https://github.com/YourName/Your-Subdirectory.git`
8. Push the files to origin: `git push origin main`
4. Call the tool using: `git filter-repo.py OPTIONS`
# Notes for Windows Users

Loading…
Cancel
Save