[or-cvs] [githax/master] Add two more examples for pushing to public repositories.

Nick Mathewson nickm at seul.org
Fri May 8 19:47:24 UTC 2009


Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Fri, 8 May 2009 20:22:11 +0200
Subject: Add two more examples for pushing to public repositories.
Commit: 2b03abc28a6cf706149efc524b6713e1afed62d3

1. Give a public branch another name than the local one.
2. Delete a public branch when it's not used anymore.
---
 doc/Howto.txt |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/doc/Howto.txt b/doc/Howto.txt
index 2730d85..87aa3ca 100644
--- a/doc/Howto.txt
+++ b/doc/Howto.txt
@@ -340,6 +340,21 @@ repository yet, it will be created:
 % git push public ftp
 -----
 
+You may also decide to give your remote branch a name that is distinct from
+the local name:
+
+-----
+% git push public ftp:ftpimprovements
+-----
+
+When your changes have been pulled by the project maintainer into the
+official repository and there is no need to have your remote branch
+anymore, you can get rid of it:
+
+-----
+% git push public :ftpimprovements
+-----
+
 Note that if you do not tell others explictly that you might be rebasing
 this branch, they could start basing work on it. When you then change the
 history, they will have some work to get their repositories back up in
-- 
1.5.6.5



More information about the tor-commits mailing list