ninetydegrees (90d)☕ (
ninetydegrees) wrote in
dw_dev_training2012-08-23 01:49 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
Entry tags:
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. :)
(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. :)
Re: GitHub Workflow
One more question: my original branch didn't have a correct name so I tried to rename it using branch -m. Bad move because now what I see in PuTTY and on GH are different now. On PuTTY everything went fine; On GH it just created a new branch with the name I wanted. How do I get rid of the old branch on GH?
Re: GitHub Workflow
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
Re: GitHub Workflow
Should I do push origin after that? Because it's still there on GH (but not when I do branch -r).
Re: GitHub Workflow
What you actually want is:
git push origin --delete branchname
Re: GitHub Workflow
Re: GitHub Workflow
<333