remote branches

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Wed Nov 4 11:26:52 PST 2009


Saifi Khan wrote:
Subsequent to a fresh DragonFly BSD 2.4.1 installation on AMD64
X2 box, i did the following steps to pull in the source code as
i did not want to use the Makefile.
# cd /usr
# mkdir src
# cd src
# git init
# git remote add origin git://git.dragonflybsd.org/dragonfly.git
# git pull origin HEAD
Is this the recommended approach ?
No.  Just use git clone git://... src

Additionally, when i try to view the 'remote' branches
# git branch -r
there are none seen.
Yes, because you only pulled master.

Is this something to be worried about ?
run a "git remote update" to get all.

On another laptop, i pulled in the code (couple of months ago)
using
# git clone -o chlamydia git://chlamydia.fs.ei.tum.de/dragonfly.git
followed by periodic
# git pull
When, i try to view the remote branches, Git shows it as,
# git branch -r
  origin/DragonFly_RELEASE_1_10
[..]

What could i be missing here ?
where?

--
  <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
  rock the past  +++  space for low CHF NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




More information about the Users mailing list