lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: git patch


From: Mats Bengtsson
Subject: Re: git patch
Date: Wed, 06 Dec 2006 09:25:12 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060909)



Johannes Schindelin wrote:

It would be nice to have an accompanying "tutorial introduction to contributing with git" that just goes over the following steps (in their git equivalent):


cvs co blah blah  (which I simply copy and paste from savannah anyway)
while (true) {
  cvs update          // get changes that happened overnight
  vi foo/bar/baz.txt  // or whatever editing commands you do
  make; make web      // or whatever testing commands you do
  cvs update          // get latest changes to prepare for
                      // uploading changes.  This step may or
                      // may not be required in git.
  cvs ci foo/bar/baz.txt  // upload changes
}

I try to translate:

$ git clone blah blah
$ while (true) {
$    git pull      # get latest changes; you must have a clean working dir
$    vi foo/bar/baz.txt
$    make; make web
$    git commit -a # you will be prompted for a meaningful message
$ # alternatively: git commit foo/bar/baz.txt
$ }
I'm just as much a newbie as Graham and several others on this list, but didn't you
miss one important step, namely "git push" (somewhat corresponding to
"cvs ci", i.e. "cvs commit")?

  /Mats





reply via email to

[Prev in Thread] Current Thread [Next in Thread]