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

git-gui clone differs from command line

From
BRBarry Roberts <blr@robertsr.us>
Date
May 28, 2008, 15:21 UTC
Message-ID
<483D7884.2050407@robertsr.us>

After much mis-directed research, I finally figured out that cloning a repo (ssh://) with git-gui doesn't work exactly like 'git clone' from the command line. The main difference is that 'git pull' doesn't work on master. I get the error below. Is that intentional, or are we doing something wrong?

 From ssh://blr@cvs2/var/git/iv
 = [up to date]      master     -> origin/master
 = [up to date]      mbn/xtol   -> origin/mbn/xtol
 = [up to date]      sprint2    -> origin/sprint2
 = [up to date]      sprint3    -> origin/sprint3
 = [up to date]      sprint4    -> origin/sprint4
 = [up to date]      xtol       -> origin/xtol
You asked me to pull without telling me which branch you
want to merge with, and 'branch.master.merge' in
your configuration file does not tell me either.  Please
name which branch you want to merge on the command line and
try again (e.g. 'git pull <repository> <refspec>').
See git-pull(1) for details on the refspec.

If you often merge with the same branch, you may want to configure the following variables in your configuration file:

    branch.master.remote = <nickname>
    branch.master.merge = <remote-ref>
    remote.<nickname>.url = <url>
    remote.<nickname>.fetch = <refspec>
See git-config(1) for details.
Next: Shawn O. Pearce
Message 1 of 4 in “git-gui clone differs from command line”
  1. Barry RobertsMay 28, 2008
  2. Shawn O. PearceMay 28, 2008
  3. Barry RobertsMay 29, 2008
  4. Johannes SchindelinMay 29, 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.