chiark
/
gitweb
/
~ian
/
topgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
459c340
)
README: Add synopsis for working with remotes
author
Petr Baudis
<pasky@suse.cz>
Tue, 9 Sep 2008 22:11:47 +0000
(
00:11
+0200)
committer
Petr Baudis
<pasky@suse.cz>
Tue, 9 Sep 2008 22:11:47 +0000
(
00:11
+0200)
README
patch
|
blob
|
history
diff --git
a/README
b/README
index 8299027e97ac579823695cdd6e3b67566a8d10f6..fd88504a4aeceee0b8fcaa0aa3856ebc564583cc 100644
(file)
--- 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...
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
-----
USAGE
-----