git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Workflow example for remote repository use of GIT
@ 2006-11-28 15:08 Sean Kelley
  2006-11-28 15:15 ` Johannes Schindelin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sean Kelley @ 2006-11-28 15:08 UTC (permalink / raw)
  To: git

I have been trying to set-up a workflow for developers in my group
using GIT. I came up with this simplified flow.  Do you all see any
problems with this approach?

Thanks,

Sean



Always work out of master

  git checkout master

Getting The Latest Upstream Code into master

  git pull origin master

Create a topic branch for your development work

  git checkout -b <new topic branch name>

Do your development in the topic branch

  edit/debug/test

Committing Changes

  git commit -a

Switch back to master

  git checkout master

Update the master branch from origin again

  git pull origin master

Now Merge your topic branch

  git pull . <topic branch to merge into current branch>

How do I push my changes to the original repository?

  git push origin master

-- 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-28 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-28 15:08 Workflow example for remote repository use of GIT Sean Kelley
2006-11-28 15:15 ` Johannes Schindelin
2006-11-28 15:25 ` Shawn Pearce
2006-11-28 16:18 ` Jakub Narebski

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).