Workflow example for remote repository use of GIT

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Tuesday, November 28, 2006 - 11:08 am

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

-- 
Sean Kelley
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Workflow example for remote repository use of GIT, Sean Kelley, (Tue Nov 28, 11:08 am)
Re: Workflow example for remote repository use of GIT, Shawn Pearce, (Tue Nov 28, 11:25 am)
Re: Workflow example for remote repository use of GIT, Johannes Schindelin, (Tue Nov 28, 11:15 am)