ninetydegrees: Art: comic strip of a woman, afraid and crying (tear)
ninetydegrees (90d)☕ ([personal profile] ninetydegrees) wrote in [site community profile] dw_dev_training2013-01-09 05:34 pm
Entry tags:

Git and Release Branch

Could someone please explain this entry in simpler terms, preferably with detailed steps? I just don't get it because I have no release branch not stemming from develop so I'm not sure how I should go about creating it (the command given in the entry doesn't work for me obviously as branches on hack are only develop and master).
kareila: (Default)

[personal profile] kareila 2013-01-09 10:34 pm (UTC)(link)
Check and see what "git branch -r" shows you. This is what I see on my local repository:

  origin/HEAD -> origin/develop
  origin/claimed_by
  origin/develop
  upstream/develop
  upstream/master
  upstream/release-1.11.0
  upstream/release-1.12

Origin is my fork with a bugfix branch named claimed_by, and upstream is the main Dreamwidth repo. Your remotes probably have different names, which is fine! I just want to know if you see any of the release branches.
kareila: (Default)

[personal profile] kareila 2013-01-09 10:42 pm (UTC)(link)
Okay, so the next step should be: git checkout -b release-1.13 dreamwidth/release-1.13

This should create and check out a release-1.13 branch in your local copy of the code that matches the same branch in dreamwidth.
kareila: (Default)

[personal profile] kareila 2013-01-09 11:18 pm (UTC)(link)
Glad I could help!
fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)

[personal profile] fu 2013-01-10 12:20 am (UTC)(link)
Oooh I should wiki this. Lalala.