login
Header Space

 
 

Re: [Announce] GIT v1.5.0-rc2

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Carl Worth <cworth@...>
Cc: <git@...>, <linux-kernel@...>
Date: Monday, January 22, 2007 - 3:28 pm

Thanks for your comments; the attached probably needs
proofreading.

The changes in response to the remainder of your comments are
quite straightforward and I do not think needs proofreading, so
I'll incorporate them and push the result out in 'todo'.

diff --git a/v1.5.0.txt b/v1.5.0.txt
index c0ff071..596bfd2 100644
--- a/v1.5.0.txt
+++ b/v1.5.0.txt
@@ -107,11 +107,40 @@ Updates in v1.5.0 since v1.4.4 series
    already comfortable with your workflow with the layout.
 
  - git-clone always uses what is known as "separate remote"
-   layout for a newly created repository with a working tree;
-   i.e. tracking branches in $GIT_DIR/refs/remotes/origin/ are
-   used to track branches from the origin, instead of
-   $GIT_DIR/refs/heads/, making the difference between remotely
-   tracked and local branches more obvious.
+   layout for a newly created repository with a working tree.
+
+   A repository with the separate remote layout starts with only
+   one default branch, 'master', to be used for your own
+   development.  Unlike the traditional layout that copied all
+   the upstream branches into your branch namespace (while
+   renaming their 'master' to your 'origin'), they are not made
+   into your branches.  Instead, they are kept track of using
+   'refs/remotes/origin/$upstream_branch_name'.
+
+   This layout keeps your own branch namespace less cluttered,
+   avoids name collision with your upstream, makes it possible
+   to automatically track new branches created at the remote
+   after you clone from it, and makes it easier to interact with
+   more than one remote repositories.  There might be some
+   surprises:
+
+   * 'git branch' does not show the branches from your upstream.
+     It only lists your own branches.  Use '-r' option to view
+     the tracking branches.
+
+   * If you are forking off of a branch obtained from the
+     upstream, you would have done something like 'git branch
+     my-next next', because traditional layout dropped the
+     tracking branch 'next' into your own branch namespace.
+     With the separate remote layout, you say 'git branch next
+     origin/next', which allows you to use the matching name
+     'next' for your own branch.  It also allows you to track a
+     remote other than 'origin' (i.e. where you initially cloned
+     from) and fork off of a branch from there the same way
+     (e.g. "git branch mingw j6t/master").
+
+   Repositories initialized with the traditional layout
+   continues to work (and will continue to work).
 
  - New branches that appear on the origin side after a clone is
    made are also tracked automatically.  This is done with an

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Announce] GIT v1.5.0-rc2, Junio C Hamano, (Sun Jan 21, 7:20 am)
Re: [Announce] GIT v1.5.0-rc2, Carl Worth, (Mon Jan 22, 2:08 pm)
Re: [Announce] GIT v1.5.0-rc2, Junio C Hamano, (Mon Jan 22, 3:28 pm)
Re: [Announce] GIT v1.5.0-rc2, Carl Worth, (Mon Jan 22, 9:01 pm)
Re: [Announce] GIT v1.5.0-rc2, Johannes Schindelin, (Sun Jan 21, 5:55 pm)
Re: [Announce] GIT v1.5.0-rc2, Junio C Hamano, (Sun Jan 21, 8:55 pm)
Re: [Announce] GIT v1.5.0-rc2, Horst H. von Brand, (Sun Jan 21, 3:46 pm)
Re: [Announce] GIT v1.5.0-rc2, Junio C Hamano, (Sun Jan 21, 4:51 pm)
Re: [Announce] GIT v1.5.0-rc2, Willy Tarreau, (Sun Jan 21, 9:43 am)
Re: [Announce] GIT v1.5.0-rc2, Junio C Hamano, (Sun Jan 21, 2:58 pm)
Re: [Announce] GIT v1.5.0-rc2, Horst H. von Brand, (Sun Jan 21, 4:01 pm)
Re: [Announce] GIT v1.5.0-rc2, Junio C Hamano, (Sun Jan 21, 9:27 pm)
Re: [Announce] GIT v1.5.0-rc2, H. Peter Anvin, (Sun Jan 21, 3:49 pm)
Re: [Announce] GIT v1.5.0-rc2, Nicolas Pitre, (Mon Jan 22, 1:23 pm)
Re: [Announce] GIT v1.5.0-rc2, Bill Lear, (Sun Jan 21, 9:42 am)
Re: [Announce] GIT v1.5.0-rc2, Bill Lear, (Sun Jan 21, 9:52 am)
Re: [Announce] GIT v1.5.0-rc2, Johannes Schindelin, (Sun Jan 21, 5:26 pm)
Re: [Announce] GIT v1.5.0-rc2, Michael, (Sun Jan 21, 11:02 am)
speck-geostationary