Topic on Extension talk:Widgets

Can't get git REL1_29 branch???

4
Summary by Deletedaccount4567435

git checkout -f -b REL1_29 origin/REL1_29

Deletedaccount4567435 (talkcontribs)

So after

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Widgets.git

I got

 

git branch

  REL1_27
  REL1_28
* master

I did see REL1_29 in

git branch -r

  origin/HEAD -> origin/master
  origin/REL1_19
  origin/REL1_20
  origin/REL1_21
  origin/REL1_22
  origin/REL1_23
  origin/REL1_24
  origin/REL1_25
  origin/REL1_26
  origin/REL1_27
  origin/REL1_28
  origin/REL1_29
  origin/REL1_30
  origin/master
  origin/smarty3

How to get the REL1_29 downloaded to local and switch to it?

Thank you!

MarkAHershberger (talkcontribs)

If you type "git checkout -b REL1_29 origin/REL1_29", you should see the following message:

Branch REL1_29 set up to track remote branch REL1_29 from origin.
Switched to a new branch 'REL1_29'

Something like "git checkout REL1_29" should work, too, as long as REL1_29 is on origin and it doesn't show up on the output of "git branch".

MarkAHershberger (talkcontribs)

oh, and you may want to checkout submodules for that extension:

git submodule update --init
Deletedaccount4567435 (talkcontribs)

git checkout -f -b REL1_29 origin/REL1_29