Draft: Github development process

From Dreamwidth Notes
Revision as of 23:34, 24 August 2012 by Foxfirefey (Talk | contribs)

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

This page is a draft page to document how development with Github works.

Starting a new branch

Before starting a new branch, wrap up any changes you are making by either stashing them or committing them to the current branch you are on.
Expand: Need to explain stashing/committing still.

To start a new branch, use the branch command. You will want a descriptive name you can keep track of--for instance, the bug number you are working on. Examples:

mw@memewidth:~/dw$ git branch Bug4335/admintt

Then, to switch to this branch, use the checkout command:

mw@memewidth:~/dw$ git checkout Bug4335/admintt Switched to branch 'Bug4335/admintt'

Managing changes

Viewing changes

Stashing and unstashing

Committing changes

Pushing your changes to your repository on Github

Making a pull request

Deleting branches