Skip to content

Instantly share code, notes, and snippets.

@SKumarSpace
Created May 30, 2024 02:43
Show Gist options
  • Save SKumarSpace/df2e6b0c206816c5800f9e54d0bc5e04 to your computer and use it in GitHub Desktop.
Save SKumarSpace/df2e6b0c206816c5800f9e54d0bc5e04 to your computer and use it in GitHub Desktop.
Merge Git Repo - Subfolder
git remote add {name} https://[email protected]/org/repo_name/_git/repo_name
git fetch {name}
git subtree add --prefix=my_folder-name {name} master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment