CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Installation Problem with GIT (https://www.cfd-online.com/Forums/openfoam-installation/64339-installation-problem-git.html)

sega May 7, 2009 12:55

Installation Problem with GIT
 
I'm using OpenFOAM vor over a year and now switches operating systems and wanted to install the version 1.5.x with git.

Code:

git clone git://repo.or.cz/OpenFOAM-1.5.x.git
created the directories, but when I change to OpenFOAM-1.5.x and run

Code:

git pull git://repo.or.cz/OpenFOAM-1.5.x.git
I'm getting this error:

Code:

sega@M1530:~/OpenFOAM-1.5.x$ git pull git://repo.or.cz/OpenFOAM-1.5.x.git
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.

Any ideas whats wrong?

roth May 8, 2009 07:54

git pull
 
If you're in the directory OpenFOAM-1.5.x, just try

Code:

git pull
Michael

sega May 8, 2009 08:46

Yes, its working.
But I have to create (and download) the third party directory and the linuxGcc directory?


All times are GMT -4. The time now is 14:04.