Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
glossary: explain "master" and "origin"
author
Johannes Schindelin
<Johannes.Schindelin@gmx.de>
Tue, 10 Jan 2006 21:26:46 +0000
(22:26 +0100)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 11 Jan 2006 00:02:54 +0000
(16:02 -0800)
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.
[jc: with updates from J. Bruce Fields.]
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/glossary.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
6f2eacf
)
diff --git
a/Documentation/glossary.txt
b/Documentation/glossary.txt
index 2331be5a71626d03d3f8f1720107418dc5174bc3..02a9d9c18acaf1e6091049aaf6d2fd1f2490e573 100644
(file)
--- 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/`.
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 they track, and by default 'origin' is used for
+ that purpose. New updates from upstream will be fetched into
+ this branch; you should never commit to it yourself.
+
ref::
A 40-byte hex representation of a SHA1 pointing to a particular
object. These may be stored in `$GIT_DIR/refs/`.
ref::
A 40-byte hex representation of a SHA1 pointing to a particular
object. These may be stored in `$GIT_DIR/refs/`.