[gmx-developers] Creating new branch off master

Roland Schulz roland at utk.edu
Thu Feb 16 17:54:21 CET 2012


On Thu, Feb 16, 2012 at 11:36 AM, David van der Spoel
<spoel at xray.bmc.uu.se>wrote:

>
> On Feb 16, 2012, at 5:04 PM, Mark Abraham <Mark.Abraham at anu.edu.au> wrote:
>
> > On 16/02/2012 10:08 PM, David van der Spoel wrote:
> >> Since master is managed through gerrit, does it mean that creating a
> new branch also should be done through gerrit? Or can we use vanilla git
> repository to do this?
> >
> > Branches are just labels for commits in your repo. So you can branch
> locally to your heart's content, and if/when it makes sense to have a
> feature branch under gerrit control, that can be sorted out at the time. Do
> use git rebase for keeping in sync with the upstream repo, to save yourself
> pain later.
> >
>
> What I would like is a branch *without* gerrit control, but based from the
> master branch.
>

I tend to think that new C++ api would benefit from early review. Usually
it is much easier to fix issues when being aware of them early on. Or do
you think the review I gave to your first commit is not useful?
Also we should avoid long having running branches in the future, so that we
don't have to squash everything into one commit before merging, which is
then very difficult to review.

As Mark said you can always create local branches. You can also create
remote branches by:
git push HEAD:refs/private/{your-user}/{branch-name}

By default anyone can read and you can write. You can change the
permissions for you branches in the Gerrit Admin tab.

Roland



> > Mark
> > --
> > gmx-developers mailing list
> > gmx-developers at gromacs.org
> > http://lists.gromacs.org/mailman/listinfo/gmx-developers
> > Please don't post (un)subscribe requests to the list. Use the www
> interface or send it to gmx-developers-request at gromacs.org.
> --
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-developers-request at gromacs.org.
>
>
>
>
>


-- 
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20120216/70cde525/attachment.html>


More information about the gromacs.org_gmx-developers mailing list