unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Problem understanding git
@ 2008-05-23 11:54 Lynbech Christian
  2008-05-23 12:18 ` dhruva
  0 siblings, 1 reply; 6+ messages in thread
From: Lynbech Christian @ 2008-05-23 11:54 UTC (permalink / raw)
  To: emacs-devel

Thanks to the good help from the list, I now have a git repository to
track which will work with the company firewall.

But I am having some problems in finding how to get git to do what I want.

I have first cloned the repository from 

        http://git.sv.gnu.org/r/emacs.git

Now I want to update this, ie. do the equivalent of a "cvs update".

On one machine, where I have git version 1.5.5.1, I just do a "git pull"
and the updates comes pouring in, but when I try the same on my laptop
where I only have git version 1.5.3.4, I get the following (to me)
cryptic error message:

        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.


I have so far been unable to deduce how to get the slightly older git
to do the update.

Is there a kind soul out there who could help enlighten me?


------------------------+-----------------------------------------------------
Christian Lynbech       | christian #\@ defun #\. dk
------------------------+-----------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-05-23 17:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-23 11:54 Problem understanding git Lynbech Christian
2008-05-23 12:18 ` dhruva
2008-05-23 13:20   ` Lynbech Christian
2008-05-23 14:00     ` İsmail Dönmez
2008-05-23 15:31       ` dhruva
2008-05-23 17:24         ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).