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

Re: Recommended work flow with git to send in patches

From
TSTong Sun <suntong@cpan.org>
Date
Jul 27, 2010, 19:48 UTC
Message-ID
<AANLkTi=psuiq-GP9zV=pY6swNAUF-MwJt6COrNDVDLqu@mail.gmail.com>
In-Reply-To
<m3y6cwkew7.fsf@localhost.localdomain>
On Tue, Jul 27, 2010 at 1:35 PM, Jakub Narebski <jnareb@gmail.com> wrote:
> Doesn't GRML have web page / wiki page for developers?

Yes, http://grml.org/git/, but it is kind of reference book style, doesn't cover much on the work flow, especially on the topic of no-writing-privilege user contributing back.

Show 6 quoted lines
>> - do initial git pull into grml-debootstrap
>>
>>   git pull git://git.grml.org/grml-debootstrap master
>
> Why not git-clone (possibly shallow, if you are working on one-shot
> patch or patch series)?

Ok, to explain it, I have to touch upon my "life long story" of using git. Long story short on this, the recommended work flow that I searched and found from the Inet was to do 'git clone' from web then 'git clone' a local working copy. Here is my trying log:

# Download the latest version of the repository without downloading all the history, using "shallow checkouts".

  git clone --depth 1 git://git.grml.org/grml-debootstrap.git
create working repo:
  $ git-clone --depth 1 grml-debootstrap grml-debootstrap.working
  Initialized empty Git repository in
/export/repositories/gitwork/grml/grml-debootstrap.working/.git/
  fatal: attempt to fetch/clone from a shallow repository
  ^^^^^^^^^^^^^^^

Seeing that fatal error, and not knowing where to get help from, I just gave up the 'git clone' approach. Please be specific (with git commands), how would I use 'git clone' for working on one-shot patch or patch series.

Got to run, will comment on the rest later.
thanks
Previous: Jakub NarebskiNext: Jakub Narebski
Message 10 of 14 in “Recommended work flow with git to send in patches”
  1. Tong SunJul 27, 2010
  2. Ævar Arnfjörð BjarmasonJul 27, 2010
  3. Tong SunJul 27, 2010
  4. Ramkumar RamachandraJul 27, 2010
  5. Tong SunJul 27, 2010
  6. Ramkumar RamachandraJul 27, 2010
  7. Jakub NarebskiJul 27, 2010
  8. Ramkumar RamachandraJul 27, 2010
  9. Jakub NarebskiJul 27, 2010
  10. Tong SunJul 27, 2010
  11. Jakub NarebskiJul 28, 2010
  12. Tong SunJul 28, 2010
  13. Jakub NarebskiJul 28, 2010
  14. Tong SunJul 28, 2010

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.