Size: 1752
Comment:
|
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.
git checkout master - switch to the master branch
git checkout -b yourbranchname - create 'yourbranchname' and check it out, sometimes called switch to it
make changes and git commit -a -m 'add your first change' - do this frequently
git push
- create the PR on your github account from 'yourgitaccount:yourbranchname' to 'robinD42:master'
- getting comments to the PR
- make changes and commit frequently
git push the PR will be updated automatically
A few links to tutorials and other useful help to get going with git.
Graphical tools for GIT
On Windows
Tortoise for GIT - a graphical UI
On MAC