git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] glossary: explain "master" and "origin"
@ 2006-01-10 21:26 Johannes Schindelin
  2006-01-10 21:36 ` J. Bruce Fields
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Schindelin @ 2006-01-10 21:26 UTC (permalink / raw)
  To: git, junkio


If you are a long time git user/developer, you forget that to a new git
user, these words have not the same meaning as to you.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>

---

 Documentation/glossary.txt |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/Documentation/glossary.txt b/Documentation/glossary.txt
index 2331be5..4ef7d2a 100644
--- a/Documentation/glossary.txt
+++ b/Documentation/glossary.txt
@@ -111,6 +111,17 @@ branch::
 	a particular revision, which is called the branch head. The
 	branch heads are stored in `$GIT_DIR/refs/heads/`.
 
+master::
+	The default branch. Whenever you create a git repository, a branch
+	named "master" is created, and becomes the active branch. In most
+	cases, this contains the local development.
+
+origin::
+	The default upstream branch. Most projects have one upstream 
+        project which is tracked, and augmented with local changes which
+        eventually get merged back. You never commit to this branch,
+	unless you are maintaining the upstream project.
+
 ref::
 	A 40-byte hex representation of a SHA1 pointing to a particular
 	object. These may be stored in `$GIT_DIR/refs/`.

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-01-11  6:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-10 21:26 [PATCH] glossary: explain "master" and "origin" Johannes Schindelin
2006-01-10 21:36 ` J. Bruce Fields
2006-01-10 21:40   ` Johannes Schindelin
2006-01-11  6:12     ` Junio C Hamano
2006-01-10 22:27   ` walt
2006-01-10 23:33     ` walt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).