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

Re: new to git

From
JHJan Hudec <bulb@ucw.cz>
Date
Sep 5, 2007, 05:56 UTC
Message-ID
<20070905055659.GF3786@efreet.light.src>
In-Reply-To
<46D32973.8030104@krose.org>
On Mon, Aug 27, 2007 at 15:43:47 -0400, Kyle Rose wrote:
Show 19 quoted lines
> After many years of dissatisfaction with the limitations of CVS, and
> after getting fed up with the complexity of configuring and maintaining
> a SVN setup, I just started using git for my own personal projects.  I
> have to say it's quite nice and fits the UNIX philosophy well: fast,
> simple, powerful.
> 
> I've been playing with it for a few weeks and generally understand what
> is going on, but I do have a few usage questions that I couldn't find
> answered in the docs:
> 
> (1) Let's say I:
> 
> git clone something
> git branch foo
> git checkout foo
> <make some changes>
> git commit -a
> git checkout master
> git pull . foo
git merge foo

would be probably both clearer about the intent and more efficient here. After all, pull is just a simple wrapper for fetch + merge and you don't need the fetch from the repository to itself.

> git push
> git pull
-- 
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
Previous: Andreas EricssonNext: Junio C Hamano
Message 7 of 8 in “new to git”
  1. Kyle RoseAug 27, 2007
  2. J. Bruce FieldsAug 27, 2007
  3. Andreas EricssonAug 27, 2007
  4. Kyle RoseAug 27, 2007
  5. Junio C HamanoAug 27, 2007
  6. Andreas EricssonAug 27, 2007
  7. Jan HudecSep 5, 2007
  8. Junio C HamanoSep 5, 2007

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.