X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=README;h=fd88504a4aeceee0b8fcaa0aa3856ebc564583cc;hb=3de9840b7e29d711917d01f8eb3a18e78e8d6d9d;hp=8299027e97ac579823695cdd6e3b67566a8d10f6;hpb=d55f0210fef0b6b0b1d9edf8cacfcd100901ecd0;p=topgit.git diff --git a/README b/README index 8299027..fd88504 100644 --- a/README +++ b/README @@ -184,6 +184,24 @@ SYNOPSIS tg: Updating base with t/gitweb/nifty-links changes... tg: Updating t/whatever against new base... + ## Clone a TopGit-controlled repository + $ git clone URL repo + $ cd repo + $ tg remote --populate origin + ... + $ git fetch + $ tg update + + ## Add a TopGit remote to a repository and push to it + $ git remote add foo URL + $ tg remote foo + $ git push foo + + ## Update from a non-default TopGit remote + $ git fetch foo + $ tg -r foo summary + $ tg -r foo update + USAGE -----