[PATCH] glossary: explain "master" and "origin"
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 10, 2006, 21:26 UTC
- Message-ID
- <Pine.LNX.4.63.0601102226130.649@wbgn013.biozentrum.uni-wuerzburg.de>
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/`.