From: "Adrián Ribao Martínez" <aribao@gmail.com>
To: git@vger.kernel.org
Subject: Integration-Manager Workflow
Date: Sat, 16 Jan 2010 18:49:32 +0100 [thread overview]
Message-ID: <201001161849.32211.aribao@gmail.com> (raw)
[-- Attachment #1: Type: Text/Plain, Size: 1907 bytes --]
Hello everybody, I'm learning git since I'm planning moving from Bazaar.
I've been reading the documentation and the progit book, which is excellent.
I'm a bit confused In the chapter: http://progit.org/book/ch5-1.html#integrationmanager_workflow : "Integration-Manager Workflow"
I need to manages a project with several developers. Those developers are split into teams.
I'm planning these:
* A central repository using the http protocol. This central repository would be only writable by myself, it would have http access for the developers and ssh access for me.
* Every team would have ssh access to their repositories. i.e. team1.myserver.net, team2.myserver.net
* I want at least three branches: master, test, and develop. The path would be: develop(development version) -> test (beta) -> master (stable)
* I don't want any developer to write into the develop branch, and if they do by mistake, I don't want to take it into account.
My question is about the branches in the teams repositories. I want the developers to create feature/fix branches in their checkouts and when they have finished the work, I check and merge into develop if everything is OK.
Is the following procedure correct?:
1. They send me the path of the branch I should do: git checkout --track origin/feature1 (where origin could be: ssh://user@team1.myserver.net:/home/user/git/project)
2. If everything is ok I merge into development and remove branch feature1.
3. They fetch and the branch is deleted in their local checkouts, and the feature1 is in the develop branch: git pull origin
What happens if they accidentally work in the develop branch instead of creating a new one? What should we do?
I think I should never fetch from teamx.myserver.net to avoid this problem and instead track the branch like in step 2. Is this correct?
Thank you for your help, I'm a bit confused about git.
Regards,
Adrian Ribao
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next reply other threads:[~2010-01-16 17:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-16 17:49 Adrián Ribao Martínez [this message]
2010-01-16 19:06 ` Integration-Manager Workflow Michael Poole
2010-01-16 19:47 ` Adrián Ribao Martínez
2010-01-17 2:53 ` Michael Poole
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201001161849.32211.aribao@gmail.com \
--to=aribao@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.