Bryan Larsen
242b20dc0a
docs: simplify example 1
...
The documentation was written prior to Wayne Walter's 2-parameter add.
Using 2-parameter add in example 1 makes the example much simpler.
2010-07-21 13:41:38 -04:00
Wayne Walter
c00d1d1168
Added new 'push' command and 2-parameter form of 'add'.
...
Now you can do:
git subtree add --prefix=whatever git://wherever branchname
to add a new branch, instead of rather weirdly having to do 'git fetch'
first. You can also split and push in one step:
git subtree push --prefix=whatever git://wherever newbranch
(Somewhat cleaned up by apenwarr.)
2010-02-13 14:45:04 -05:00
Dan Sabath
ae3301876c
Docs: cleaning up example textual redundancy
...
Signed-off-by: Dan Sabath <dsabath@whitepages.com>
2010-02-08 22:02:04 -05:00
Dan Sabath
c6ca48d4dc
docs: add simple 'add' case to clarify setup.
...
This patch adds a simple use case for adding a library to an existing
repository.
Signed-off-by: Dan Sabath <dsabath@whitepages.com>
2010-02-08 20:31:51 -05:00
Win Treese
37668a13ed
git-subtree.txt: add another example.
2010-02-05 21:02:52 -05:00
Arlen Cuss
e1ce417d0c
Fix refspecs in given example for git subtree pull.
...
(Updated slightly by apenwarr)
2010-02-02 10:23:26 -05:00
Avery Pennarun
b64a7aa26c
Docs: when pushing to github, the repo path needs to end in .git
...
Reported by Thell Fowler.
2009-07-08 20:17:31 -04:00
Avery Pennarun
dd07906252
man page: add an EXAMPLES section.
2009-05-30 14:24:31 -04:00
Avery Pennarun
e75d1da38a
Add basic git-subtree manpage in asciidoc format.
2009-05-30 14:06:58 -04:00