Re: What's in git.git
From: Lukas Sandström <hidden>
Date: 2016-06-15 22:42:21
Junio C Hamano wrote:
I'd like asciidoc tweaks in "next" by Francis Daly tested by people who have access to different vintages of docbook-xsl by trying to build manpages. Look for displayed examples, such as the one in git-branch documentation. I've tried it with v1.68 and getting far better results than before, and Francis says v1.69 works fine with or without the change. IOW this is a workaround for a problem in v1.68.
I tested it with asciidoc 7.0.1 and the examples in the git-branch
man page look better with the fix.
/Lukas
Before:
Examples
Start development off of a know tag
$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6 $
cd my2.6 $ git branch my2.6.14 v2.6.14 $ git checkout my2.6.14
These two steps are the same as "checkout -b my2.6.14 v2.6.14".
Delete unneeded branch
$ git clone git://git.kernel.org/.../git.git my.git $ cd my.git
$ git branch -D todo
delete todo branch even if the "master" branch does not have
all commits from todo branch.
After:
Examples
Start development off of a know tag
$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6
$ cd my2.6
$ git branch my2.6.14 v2.6.14
$ git checkout my2.6.14
These two steps are the same as "checkout -b my2.6.14 v2.6.14".
Delete unneeded branch
$ git clone git://git.kernel.org/.../git.git my.git
$ cd my.git
$ git branch -D todo
delete todo branch even if the "master" branch does not have all
commits from todo branch.