forked from kframework/k-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
Git Workflow
bmmoore edited this page Aug 9, 2013
·
7 revisions
As we've just migrated from subversion, we're going to try to keep a subversion-style workflow on master. This means project members can all commit directly onto master, and we keep a linear history unless we actually mean to merge a branch.
A good start is Atlassian's Centralized Workflow guide
The only thing to add is that running "git pull" without the --rebase option will by default make a merge commit and a nonlinear history, so we should run "git config pull.rebase true" in your checkout to make that option the default. Or, just avoid git pull entirely and use "git fetch" and "git rebase" separately.