# Ref Url: http://reinh.com/blog/2009/03/02/a-git-workflow-for-agile-teams.html
#
# NOTES:
# 1. We use the following convention throughout the rest of this doc:
# * ... id of story/chore/bug as provided by pivotal tracker
# * ... story, chore or bug
# * ... a very short description of the story, chore or bug
# * ... a description of the story, chore or bug
#
1. To start working on a feature:
$ cd
$ git checkout master
$ git fetch origin master
$ git rebase origin/master
a. Assuming i'm working on something new:
$ git checkout -b --
Examples:
$ git checkout -b 889900-feature-admin_reboots_system
$ git checkout -b 889901-chore-cleanup_config_environment
$ git checkout -b 889902-bug-cannot_shutdown_until_all_system_tasks_complete
b. Assuming i'm already onto something:
$ git checkout --
$ git rebase origin/master
NOTES:
* Remember to run test after rebase, nothing new should break
3. Continue to work on my feature & finish it & commit frequently
4. Squash commits with interactive rebase:
$ git rebase -i origin/master
Suggested final commited message after squashing would be:
> [#]
5. Checkout master & merge with branch:
$ git checkout master
$ git merge --
$ git push origin/master
Thursday, October 1, 2009
Git branching and merging workflow for agile team
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2009
(143)
-
▼
October
(26)
- Update rubygems using gem
- String value not displayed in input text field in ...
- Format string for titles
- Specify form method when generating url route for ...
- Error using validation hooks with before_save call...
- Deleting a word backwards in Bash and Vim
- Swap CAPS LOCK with CONTROL key
- Reloading ALSA
- Uncompressing 7zip (.7z) files in Ubuntu
- Select commits from another branch using git cherr...
- Share simple internet web browsing via SSH X forwa...
- Fix static noise problem in Skype on Ubuntu
- Record & playback a Vim macro
- Stash changes away in Git to work on urgent matter...
- Insert Pivotal Tracker story id into Git commit me...
- Check git log for a particular branch
- View changes made by upstream in Git
- Restart Gnome session from command line
- Be careful with button_to in RESTful routes
- Rename current branch in Git
- Reload vimrc in Vim
- Insert contents from clipboard into Vim
- Yank all lines in Vim
- Git branching and merging workflow for agile team
- Resize Gnu Screen window
- Setup object first before testing validates_unique...
-
▼
October
(26)
No comments:
Post a Comment