Difference between revisions of "Draft: Github development process"

From Dreamwidth Notes
Redirect page
Jump to: navigation, search
(Created page with "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 eith...")
 
(Redirected page to Version Control)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This page is a draft page to document how development with Github works.
+
#redirect [[Version Control]]
 
+
== 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|text=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 ==
+

Latest revision as of 04:30, 10 January 2013