diff options
Diffstat (limited to '')
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -284,9 +284,10 @@ following (using `minidns` as an example): git fetch minidns git merge -s subtree minidns master -To add a new dependency to the `libs/` directory: +To add a new dependency to the `libs/` directory (replacing "name", "branch" and +"url" as necessary): - git remote add name repo-url + git remote add name url git merge -s ours --no-commit name/branch git read-tree --prefix=libs/name -u name/branch git commit -m "Subtree merged in name" |