Re: fast-forward only policy



Le mercredi 06 mai 2009, à 01:01 +0300, Felipe Contreras a écrit :
> You don't need a branch to make commits, tag them and push them.
> 
> $ git checkout PANGO_1_2_4
> # make changes
> $ git commit -a
> $ git tag PANGO_1_2_5
> $ git push origin PANGO_1_2_5
> 
> But if you feel icky about not working on a branch you can create a
> local branch:
> 
> $ git checkout -b work-for-1.2.5 PANGO_1_2_4
> # make changes
> $ git commit -a
> $ git tag PANGO_1_2_5
> $ git push origin PANGO_1_2_5
> $ git branch -D work-for-1.2.5
> 
> Both cases are exactly the same. You push a tag (reference) and all
> the objects in the hierarchy of the head of that reference that is
> still not on the remote repo.

I might misunderstand things but... with those commands, aren't you
releasing pango 1.2.5 after just one commit? This is not what we do. We
might have a few commits, not on the same day. In this case I think
we'll need a branch anyway, won't we?

Vincent

-- 
Les gens heureux ne sont pas pressés.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]