CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Urgent Git problem updating OF15x (https://www.cfd-online.com/Forums/openfoam-bugs/66156-urgent-git-problem-updating-of15x.html)

thomasduerr July 7, 2009 11:33

Urgent Git problem updating OF15x
 
Hi all!

I am having some trouble updating OF15 to OF 15x!
When I follow the instruct on the opencfd website

git clone http://repo.or.cz/r/OpenFOAM-1.5.x.git
works fine
but the following instruction
git pull http://repo.or.cz/r/OpenFOAM-1.5.x.git
doesn't (please see below!)
Any git expert out there??:-)

Thanxs,
Thom

thomas@wkstation:~/OpenFOAM/OpenFOAM-1.5.x> git pull http://repo.or.cz/r/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.

mattijs July 7, 2009 12:50

Please do not post non-bug messages on the bugs list.

Thanks,

Mattijs

lin July 7, 2009 18:38

This is indeed not the bug of the code,but is really one misleading guide for new users.

Please do the following:

git clone http://repo.or.cz/r/OpenFOAM-1.5.x.git
cd OpenFOAM-1.5.x
git pull

henry July 8, 2009 02:57

Thanks for the report about the misleading git instructions, we will correct it.

H

thomasduerr July 8, 2009 07:07

sorry
 
Sorry for choosing the wrong forum section

when I saw where I posted it accidentally, I posted on the main OpenFoam forum afterwards...

Thanks for the help lin, it works fine now


All times are GMT -4. The time now is 16:18.