TLDR: upgrade a directory to new repo maintaining .git info.
I have a existing repo with a DirectoryOfInterest as - https://github.com/username/existing_repo/blah1/blah2/DirectoryOfInterest
I want to create this - https://github.com/username/new_repo/DirectoryOfInterest
So far I have created new_repo. I can download DirectoryOfInterest and then upload files into new_repo.
To help people with similar questions how can we (three questions):
- Delete DirectoryOfInterest from existing_repo and move to new_repo (cut & paste)
- Copy DirectoryOfInterest from existing_repo to new_repo without the ability to sync DirectoryOfInterest (Copy & Past)
- sync DirectoryOfInterest at existing_repo and at new_repo with sync (think DropBox / OneDrive type sync)
While maintaining the history (.git) and not having to write a porting script in python or some other language.
I am new to version control - please be gentle. Thanks
I have seen: Download Directory