On 29-10-2014 18:23, Proctor, Frederick M wrote:
> I don't have the privileges to create a branch on GitHub / industrial core. Normally what I do in other repos is create a branch, e.g., "frederickproctor", push that up to the GitHub repository origin, then issue pull requests on that branch.
>
> I don't see any people-named branches on industrial-core, just hydro/indigo-devel branches. How do you all do branch management?
I try to avoid people-named branches, as they don't really have any
meaning in the context of change management / tracking. A branch named
'joe' does not convey any information as to what is going on in that
branch, while something like 'issue123_fixing_frob_mistake' does.
Typical workflow for me:
- fork the origin repo, clone to workstation
- create local feature branch
- work, fix, etc
- commit to local feature branch
- push branch to remote (personal clone)
- use GH iface to create PR (personal clone -> origin repo)
As soon as the maintainers of origin merge the PR, I remove my feature
branch.
Even if I have commit privileges, I tend to follow the above workflow:
it makes for easier PR reviews, and makes it clear who did what.
> --Fred
Gijs