This tutorial explains how to extract a subdirectory of a git repository and how to make it a submodule or an independent git repository in 8 easy steps.
Problem
If you work with
bits of coding, C++, Qt, git, gamedev, linux and other tech stuff
This tutorial explains how to extract a subdirectory of a git repository and how to make it a submodule or an independent git repository in 8 easy steps.
If you work with
Great help, thx!
Does this method preserve the combined history of Project + Library 1 as it used to be in Project? If I go to commit #10 in the Project+Library 1, will it revert to the same files as in the case of commit #10 for the original Project repo?
What is REMOTE_URL in this case ?
The IP or url of the remote server hosting the repository of Library1