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

unseeking?

From
ZBZack Brown <zbrown@tumblerings.org>
Date
Apr 24, 2005, 15:47 UTC
Message-ID
<20050424154754.GA11094@tumblerings.org>
Hi,

I've been pulling cogito and the kernel, and just fumbling around trying to learn the tool. My latest cogito is version 0.7, tracking

pasky rsync://rsync.kernel.org/pub/scm/cogito/cogito.git linus rsync://www.kernel.org/pub/linux/kernel/people/torvalds/git.git

I have many questions.
1) I saw some discussion of 'seek' as a way to get to an earlier version of a
tree; so I tried it on my own test directory. I 'seek'ed to the first patch, and
it worked - but now all I have is that very early version of my test directory.
All subsequent changes are apparently gone. How can I seek back to the most
recent state of the dir?
2) How can I 'check out' my local repository? i.e. I want to pretend to be
two developers, one of whom wants to grab a copy of the project leader's work. I
tried things like:

mkdir mygitdir2 git init ../mygitdir

where mydir is my test git repository. This didn't work. I tried rephrasing the command with an rsync url:

git init rsync://home/zbrown/site/gitstuff/mygitdir
but that didn't work either. It just said:

defaulting to local storage area rsync: getaddrinfo: home 873: Name or service not known rsync error: error in socket IO (code 10) at clientserver.c(94) gitpull.sh: unable to get the head pointer of branch master gitinit.sh: pull failed

3) How can I do a rename with cogito? There doesn't seem to be a rename command,
and if I manually do a mv and 'git add', I can commit the result, but what
actually happened? Did I really do a rename? Is the file's history preserved?
How can I verify these things?
4) fork, seek, tag, and track are a little mysterious to me. I can guess at what
these things do in general, but the specifics are confusing, and the README is a
little vague.
5) I'm a little confused about how to use a git repository to follow along with
a project. I have no problem pulling the latest version, but I'm interested in
generating changelogs for specific releases like 2.6.12-rc3. How can I
   a) identify the proper 'c83b95297c2a6336c2007548f909769e0862b509' string that
   represents the release I'm interested in
   b) generate the changelog between that version and the previous one,
   once I've solved (a)

Many thanks, Zack

-- 
Zack Brown
Next: Petr Baudis
Message 1 of 15 in “unseeking?”
  1. Zack BrownApr 24, 2005
  2. Petr BaudisApr 24, 2005
  3. Zack BrownApr 24, 2005
  4. Daniel BarkalowApr 24, 2005
  5. Zack BrownApr 24, 2005
  6. Daniel BarkalowApr 24, 2005
  7. Zack BrownApr 24, 2005
  8. Daniel BarkalowApr 24, 2005
  9. Zack BrownApr 25, 2005
  10. Daniel BarkalowApr 25, 2005
  11. Zack BrownApr 25, 2005
  12. Petr BaudisApr 26, 2005
  13. Zack BrownApr 26, 2005
  14. Petr BaudisApr 26, 2005
  15. Rename tracking, revisited (was: unseeking?)Kevin Smith, Apr 24, 2005

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.