Frequent git use cases

From PKP Wiki
Revision as of 12:46, 9 February 2010 by Jerico.dev (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page is work-in-progress. It'll be ready very soon.

This is a cheat cheat for one way to use git as a PKP developer but by far not the only way. Feel free to use it, add to it or change it.

Creating a development branch

git checkout -b dev master/master

Start working on a BugZilla bug

Switch to another BugZilla bug

Switch back to the previous BugZilla bug

Update your working copy with changes from master

Make quick fixes to the master copy without interrupting your workflow

Closing a BugZilla bug

Attach a patch to the BugZilla bug

Commit changes to the master branch

Try out changes from other developers' development branches