Re: Migrating debian policy into a git repository
On Mon, 21 Apr 2008, Russ Allbery wrote:
> git clone ssh://rra@git.debian.org/git/dbnpolicy/policy.git
> cd policy
> git checkout -b bug12345-rra
and "git checkout -b bug12345-rra master" if you're not in master
already.
> # edit files
> # git add files
> git commit
> git push origin bug12345-rra # is this right?
Yes.
> # iterate until good
> git checkout -b master
No "-b". The branch master already exists.
> git merge --squash bug12345-rra
> git commit
> git push origin master
Yes.
> git branch -d bug12345-rra # how do I do this on the shared repo?
git push origin :bug12345-rra
(cf man git-push for details, you push an empty ref over an existing
remote ref)
Cheers,
--
Raphaël Hertzog
Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/
Reply to: