git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Anybody know a website with up-to-date git documentation?

From
DNDrew Northup <n1xim.email@gmail.com>
Date
Feb 17, 2013, 13:21 UTC
Message-ID
<CAM9Z-nmoCQ-uXwMCxCn4iRjUrxDf1r9Rb1ap_PQSra-FneECAA@mail.gmail.com>
In-Reply-To
<20130130230709.GA7787@sita-lt.atc.tcs.com>
On Wed, Jan 30, 2013 at 6:07 PM, Sitaram Chamarty <sitaramc@gmail.com> wrote:
Show 6 quoted lines
> On Wed, Jan 30, 2013 at 09:18:24AM -0800, Junio C Hamano wrote:
>> Max Horn <max@quendi.de> writes:
>> > On 30.01.2013, at 16:59, Sitaram Chamarty wrote:
>> >
>> >> I'm curious... what's wrong with 'git checkout html' from the git repo
>> >> and just browsing them using a web browser?
>> Armed with that knowledge, I think Sitaram may have something like
>> this:
>>
>>       [remote "htmldocs"]
Show 8 quoted lines
> Hmm; I don't recall ever doing that.  But I just realised that
> my "html" branch is stuck at 1.7.7:
>
>     $ git branch -v -v | grep html
>       html   8fb66e5 [origin/html] Autogenerated HTML docs for v1.7.7-138-g7f41b6
>
> Is it possible that upto that point, the main git.git repo did
> carry this branch also?
Yes.
n1xim@atom:~/tmp/git_dev/git$ git branch -a
  dn/utf16_check
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/html
  remotes/origin/maint
  remotes/origin/man
  remotes/origin/master
  remotes/origin/next
  remotes/origin/pu
  remotes/origin/todo
n1xim@atom:~/tmp/git_dev/git$ git remote show origin
* remote origin
  Fetch URL: git://git.kernel.org/pub/scm/git/git.git
  Push  URL: git://git.kernel.org/pub/scm/git/git.git
  HEAD branch: master
  Remote branches:
    maint                    tracked
    master                   tracked
    next                     tracked
    pu                       tracked
    refs/remotes/origin/html stale (use 'git remote prune' to remove)
    refs/remotes/origin/man  stale (use 'git remote prune' to remove)
    todo                     tracked
  Local branch configured for 'git pull':
    master merges with remote master
  Local ref configured for 'git push':
    master pushes to master (local out of date)
n1xim@atom:~/tmp/git_dev/git$ git log refs/remotes/origin/html
commit 5723afaf3a61cef537e1f4dfa88f8faf31060ef0
Author: Junio C Hamano <junio@kernel.org>
Date:   Wed Aug 31 00:49:23 2011 +0000
    Autogenerated HTML docs for v1.7.7-rc0-72-g4b5ea
n1xim@atom:~/tmp/git_dev/git$ git log refs/remotes/origin/man
commit e193e4189407968b3c46992e3eac60d38424286e
Author: Junio C Hamano <junio@kernel.org>
Date:   Wed Aug 31 00:49:25 2011 +0000
    Autogenerated manpages for v1.7.7-rc0-72-g4b5ea

....I haven't bothered to plunge and expunge my local repo yet as I never actually made use of those branches.

-- 
-Drew Northup
--------------------------------------------------------------
"As opposed to vegetable or mineral error?"
-John Pescatore, SANS NewsBites Vol. 12 Num. 59
Previous: Sitaram ChamartyNext: Junio C Hamano
Message 11 of 12 in “Anybody know a website with up-to-date git documentation?”
  1. Max HornJan 30, 2013
  2. John KeepingJan 30, 2013
  3. Sebastian StaudtJan 30, 2013
  4. Max HornJan 30, 2013
  5. Sebastian StaudtJan 30, 2013
  6. Max HornJan 30, 2013
  7. Sitaram ChamartyJan 30, 2013
  8. Max HornJan 30, 2013
  9. Junio C HamanoJan 30, 2013
  10. Sitaram ChamartyJan 30, 2013
  11. Drew NorthupFeb 17, 2013
  12. Junio C HamanoJan 30, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.