Differences between revisions 6 and 7
Revision 6 as of 2015-02-24 16:16:20
Size: 1752
Comment:
Revision 7 as of 2015-02-24 16:27:13
Size: 2021
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
 1. ''git branch yourbranchname''
 2. make changes and commit frequently
 3. ''git push'' and create the PR
 4. getting comments to the PR
 5. make changes and commit frequently
 6. ''git push'' the PR will be updated automatically
 1. ''git checkout master'' - switch to the master branch
 2. ''git checkout -b yourbranchname'' - create 'yourbranchname' and check it out, sometimes called switch to it
 3. make changes and '''git commit -a -m 'add your first change' - do this frequently
 4. ''git push''
 5. create the PR on your github account from 'yourgitaccount:yourbranchname' to 'robinD42:master'
 6. getting comments to the PR
 7. make changes and commit frequently
 8. ''git push'' the PR will be updated automatically

How to contribute using GIT

The wxPython code is stored in a Github repository and the preferred why of provinding changes is via PR's (Pull Requests), the following page will provide some pointers on how to work with git and Github.

The first thing you should do is create a a free Github account and fork Robin's repo (see top right of screen), see also the 'Fork a repo' link further below.

Create a pull request

A PR can be a simple one line change or a new widget or anything in between this. A pull request can be commented on and often the comment will mean changes to a PR before it will be merged, therefore it is strongly suggested to create a branch in your clone of the repo for each PR.

  1. git checkout master - switch to the master branch

  2. git checkout -b yourbranchname - create 'yourbranchname' and check it out, sometimes called switch to it

  3. make changes and git commit -a -m 'add your first change' - do this frequently

  4. git push

  5. create the PR on your github account from 'yourgitaccount:yourbranchname' to 'robinD42:master'
  6. getting comments to the PR
  7. make changes and commit frequently
  8. git push the PR will be updated automatically

Start with GIT

Git immersion tutorial

Fork a repo

git cheat sheet

Graphical tools for GIT

On Windows

Git for Windows

Tortoise for GIT - a graphical UI

On MAC

Git

GitX - a graphical UI

On Linux

ContributeWithGIT (last edited 2015-04-08 23:28:11 by MoonKid)

NOTE: To edit pages in this wiki you must be a member of the TrustedEditorsGroup.