* git and branches newie questions
@ 2006-11-02 17:02 Doug Reiland
2006-11-04 7:46 ` Alan Chandler
0 siblings, 1 reply; 2+ messages in thread
From: Doug Reiland @ 2006-11-02 17:02 UTC (permalink / raw)
To: git
I need some suggestions for the best way to setup my repositories.
I have a linux repository cloned right from Linus.
I want to create 2 additional branches in this repository:
internal_current and internal_testing
I want to use internal_current to make modifications to the main Linux
branch for an internal project.
I want other users to clone/pull/push changes to the internal_current branch.
I want to use internal_testing as a branch to merge and test the
latest Linux branch with changes made to internal_current. Once this
testing is complete, merge the changes into internal_current.
That is the best way to do this. I am open to use cogito. I have
messed up this merging process just about each time, and I want to get
a stable process before I open this up to other users.
Also, I can't figure out permissions. I have setup the allow_users
hook in .git/hooks/update. My repository is "owned" by gate_keeper. My
user login is dreiland. I push changes back to the gate_keeper
repository and stuff under .git gets owned by me. Now, I log as a
gate_keeper to get a Linus update or perform the internal_testing
merges and things fail because it is owned by dreiland.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git and branches newie questions
2006-11-02 17:02 git and branches newie questions Doug Reiland
@ 2006-11-04 7:46 ` Alan Chandler
0 siblings, 0 replies; 2+ messages in thread
From: Alan Chandler @ 2006-11-04 7:46 UTC (permalink / raw)
To: git
On Thursday 02 November 2006 17:02, Doug Reiland wrote:
...
> I want to use internal_testing as a branch to merge and test the
> latest Linux branch with changes made to internal_current. Once this
> testing is complete, merge the changes into internal_current.
>
> That is the best way to do this. I am open to use cogito. I have
> messed up this merging process just about each time, and I want to get
> a stable process before I open this up to other users.
I notice that nobody has responded to your questions and a couple of days have
gone past, and whilst I am not sure I know enough to respond correctly, I
will do so to keep the thread alive so that perhaps someone more
knowledgeable than me can comment too.
It sounds as though you are setting up a central repository type concept. So
why try and do the work of merging Linus' repository there? Why not clone
from Linus in a local repository, merge in changes from this common
repository into your local repository and test, and when happy push them back
out to the common one?
>
> Also, I can't figure out permissions. I have setup the allow_users
> hook in .git/hooks/update. My repository is "owned" by gate_keeper. My
> user login is dreiland. I push changes back to the gate_keeper
> repository and stuff under .git gets owned by me. Now, I log as a
> gate_keeper to get a Linus update or perform the internal_testing
> merges and things fail because it is owned by dreiland.
Did you do a git-init-db --shared ?
does gate_keeper and yourself belong to the same group?
--
Alan Chandler
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-04 7:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-02 17:02 git and branches newie questions Doug Reiland
2006-11-04 7:46 ` Alan Chandler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).