💾 Archived View for freeshell.de › tldr › git-subtree.gmi captured on 2023-05-24 at 19:17:25. 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).