project-navigation
Personal tools

Author Topic: Fetching just the 2.3 branch in git?  (Read 2911 times)

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Fetching just the 2.3 branch in git?
« on: September 08, 2010, 10:01:56 pm »
How do I fetch just the 2.3 branch in git?

(Assume I want to switch from the latest svn branch to the current 2.3 branch)

Offline Mattn

  • CaveExpress
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4830
  • www.caveproductions.org
    • View Profile
    • CaveExpress
Re: Fetching just the 2.3 branch in git?
« Reply #1 on: September 08, 2010, 10:29:58 pm »
well - if you have the whole git repo - you can at least just type

git checkout ufoai_2.3

not sure whether it is possible to only fetch the 2.3 branch