ninetydegrees: Photo: bingo chips (bingo)
ninetydegrees (90d)☕ ([personal profile] ninetydegrees) wrote in [site community profile] dw_dev_training2012-08-23 01:49 pm

Fetching updates on Dreamhack?

How does one update their repos on their hack now? The 'old' script no longer pulls anything for me (what used to be on http://wiki.dwscoalition.org/wiki/index.php/Dev_Maintenance) and I don't understand how I can keep up with changes. :/

(Context: I'm on Windows; I use PuTTY and WinSCP).

Edit: ok, if anybody else wonders, short answer is you can no longer update your hack using old methods. :/

Edit 2: long answer is you can switch to the new system. See comments for detailed instructions. :)
fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)

Re: GitHub Workflow

[personal profile] fu 2012-08-25 02:10 pm (UTC)(link)
Okay try this:

git branch -r -d origin/OLDBRANCHNAME

Note: the origin is part of it and (probably) shouldn't be changed.

If you want to get a list of all your remote branches to be really sure, do this:

git branch -r
fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)

Re: GitHub Workflow

[personal profile] fu 2012-08-25 02:27 pm (UTC)(link)
Oops I gave some wrong info. What I gave you will have made your repository forget about that branch that's on github.

What you actually want is:

git push origin --delete branchname
fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)

Re: GitHub Workflow

[personal profile] fu 2012-08-25 02:35 pm (UTC)(link)
\o/!

<333