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

Re: Migrating debian policy into a git repository



Raphael Hertzog <hertzog@debian.org> writes:
> 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.

Ah, yes, thank you.

>>     # edit files
>>     # git add files
>>     git commit
>>     git push origin bug12345-rra # is this right?

> Yes.

Wow, my intuition about git commands is getting better.  Excellent.

>>     # iterate until good
>>     git checkout -b master

> No "-b". The branch master already exists.

Ack, yes, sorry.  That was a brain fade on my part.

>>     git branch -d bug12345-rra # how do I do this on the shared repo?

> git push origin :bug12345-rra

Excellent.

Okay, I'll start working on using this, hopefully tonight and if not
sometime tomorrow, and then capture this command stream for the wiki page
as soon as I have a chance to write it.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: