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

Re: no --dry-run to git-pull ?

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Jul 4, 2008, 15:29 UTC
Message-ID
<20080704152915.GD4729@genesis.frugalware.org>
In-Reply-To
<912ec82a0807040826v64afcc55i646d9c73b6fa8cd0@mail.gmail.com>
On Fri, Jul 04, 2008 at 06:26:02PM +0300, Neshama Parhoti <pneshama@gmail.com> wrote:
Show 9 quoted lines
> > 1) Replace origin and master with your remote and branch.
> >
> > 2) If this sounds cryptic for you, then it might be an important info
> > that by default a pull is a fetch + a merge.
> 
> What puzzles me is the origin keyword. Is it set only if I initially
> cloned a repo ?
> Because in my case, I have just rsync'ed a repo to another station, so
> I fear it will have no meaning in my case.

Heh. git remote add -f origin <url>, then you'll have it. And yes, you have it if you cloned the repo, of course rsync won't add it. ;-)

Previous: Neshama Parhoti
Message 4 of 4 in “no --dry-run to git-pull ?”
  1. Neshama ParhotiJul 4, 2008
  2. Miklos VajnaJul 4, 2008
  3. Neshama ParhotiJul 4, 2008
  4. Miklos VajnaJul 4, 2008

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.