From a362bd10214b16f8939c12a1dd4376667fe0d49f Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Tue, 28 Oct 2014 12:31:28 -0400 Subject: [PATCH] Tweak README some more --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fbc8d2dcf..ed8a48af3 100644 --- a/README.md +++ b/README.md @@ -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"