git remote add <remote-name> <remote-url>
git fetch <remote-name> --tags
git subtree add --prefix <subdirectory> <remote-name> <sha>
Last active
January 27, 2023 08:06
-
-
Save kashishgrover/5696a5aa50fd18cc6216ffe12500f564 to your computer and use it in GitHub Desktop.
Merge a remote repo into a subdirectory of another repo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To merge commits from the other repo later on, do this: