💾 Archived View for freeshell.de › tldr › git-subtree.gmi captured on 2022-06-11 at 21:54:05. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Tool to manage project dependencies as subprojects.
git subtree add --prefix={path/to/directory/} --squash {repository_url} {branch_name}
git subtree pull --prefix={path/to/directory/} {repository_url} {branch_name}
git subtree merge --prefix={path/to/directory/} --squash {repository_url} {branch_name}
git subtree push --prefix={path/to/directory/} {repository_url} {branch_name}
git subtree split --prefix={path/to/directory/} {repository_url} -b {branch_name}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).