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

Re: Question on GIT usage.

From
Junio C Hamano <junkio@cox.net>
Date
Nov 1, 2005, 00:23 UTC
Message-ID
<7v7jbtb4gz.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0510311540300.27915@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 7 quoted lines
> I _think_ you should be able to just do
>
> 	git pull <repodir> <branchname>
>
> where <repodir> can even be just "." for the very same repository.
>
> I've not tested it, but dammit, it should work. If it doesn't, it's a bug.

I know it works. 'git pull . somebranch' is the command I use the second most often in the git suite (the first being git-show-branch).

Previous: Daniel Barkalow
Message 9 of 9 in “Question on GIT usage.”
  1. Ben GreearOct 29, 2005
  2. Ryan AndersonOct 29, 2005
  3. Linus TorvaldsOct 29, 2005
  4. Daniel BarkalowOct 31, 2005
  5. Linus TorvaldsOct 31, 2005
  6. Daniel BarkalowOct 31, 2005
  7. Linus TorvaldsOct 31, 2005
  8. Daniel BarkalowOct 31, 2005
  9. Junio C HamanoNov 1, 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.