-
Notifications
You must be signed in to change notification settings - Fork 20
Using git
Linux: sudo apt-get install git
Windows: Download from http://git-scm.com/download/win and install
-
Fork the repo: Go to https://github.com/pgmpy/pgmpy_viz. You can see a fork button on the top right hand side. Click on it. You can now see
pgmpy_viz
in your repositories list. -
Setting up proxy for git: On linux you can either set a temporary proxy using
export https_proxy=https://username:password@proxy_add:port
. Temporary proxies work only in the terminal window in which you set them and are automatically reset on closing the window. For setting up permanent proxy for git usegit config --global http.proxy http://proxyuser:[email protected]:port
. -
Clone the repo: (on linux use your terminal, on windows use git that you installed). Run
git clone https://github.com/YOUR_GITHUB_USERNAME/pgmpy_viz
. Git will copy all the files from github to your hard drive. You can see the folderpgmpy_viz
in your home folder. -
Committing the changes: After making changes to the files use
git add <filename1> <filename2> ...
to stage the files that you have changed or you can usegit add *
and all the files with changes will be staged. After this, dogit commit -m "YOUR_COMMIT_MESSAGE"
and your changes will be committed locally. -
Pushing changes to github: For pushing your commits to github do:
git push origin master
, it will ask for your github username and password and then push the changes. -
Sending pull requests: After pushing your changes go to
https://github.com/YOUR_GITHUB_USERNAME/pgmpy_viz
. You should be able to see an option to send pull requests.
- http://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines
- https://help.github.com/articles/closing-issues-via-commit-messages