CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Urgent Git problem updating OF15x

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2009, 12:33
Default Urgent Git problem updating OF15x
  #1
New Member
 
Join Date: May 2009
Posts: 21
Rep Power: 17
thomasduerr is on a distinguished road
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.
thomasduerr is offline   Reply With Quote

Old   July 7, 2009, 13:50
Default
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Please do not post non-bug messages on the bugs list.

Thanks,

Mattijs
mattijs is offline   Reply With Quote

Old   July 7, 2009, 19:38
Default
  #3
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
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
lin is offline   Reply With Quote

Old   July 8, 2009, 03:57
Default
  #4
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
Thanks for the report about the misleading git instructions, we will correct it.

H
henry is offline   Reply With Quote

Old   July 8, 2009, 08:07
Default sorry
  #5
New Member
 
Join Date: May 2009
Posts: 21
Rep Power: 17
thomasduerr is on a distinguished road
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
thomasduerr is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Problem with GIT sega OpenFOAM Installation 2 May 8, 2009 09:46
Valve seal problem! Urgent songxguan Main CFD Forum 0 May 11, 2006 23:04
Urgent plotting problem in Post...Please help. Alan CFX 1 March 28, 2005 19:46
Multiphase Problem (Urgent) Dadang CFX 4 June 21, 2004 08:46
extremely simple problem... can you solve it properly? Mikhail Main CFD Forum 40 September 9, 1999 10:11


All times are GMT -4. The time now is 01:03.