This is a read-only mirror of pymolwiki.org

Difference between revisions of "Git authors"

From PyMOL Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
If you are interested in moving your script in to the repository, please read through these options.
 
If you are interested in moving your script in to the repository, please read through these options.
  
== Online - make changes to a file ==
+
== Github user setup ==
 
Create a free account at github
 
Create a free account at github
 
  https://github.com/plans
 
  https://github.com/plans
 
Then go to
 
Then go to
 
  https://github.com/Pymol-Scripts/Pymol-script-repo
 
  https://github.com/Pymol-Scripts/Pymol-script-repo
Near the top right corner, push the button: '''Fork'''
+
Near the top right corner, click: '''Fork'''
  
 
In the top left corner, it should now say: '''YOUR_NAME / Pymol-script-repo'''. This is your own repository. <br>
 
In the top left corner, it should now say: '''YOUR_NAME / Pymol-script-repo'''. This is your own repository. <br>
You can change a file, by clicking it, and then at the right side, push the button '''Edit this file'''.
+
Click '''HTTP''' in the middle. It should be like:
 
+
  https://YOUR_NAME@github.com/YOUR_NAME/Pymol-script-repo.git
Make changes, write a "commit message", and in the lower right, push the button '''Commit changes'''.
 
 
 
If you want to your changes to be part of the official repository, push the button '''Pull Request''', and write a message.<br>
 
This will notify the group of admins to review your changes.  
 
 
 
If the changes reasonable and not malicious for the computer, your '''Pull Request''' will quickly be in the official repository.
 
  
 +
=== Online - make changes to a file ===
 +
You can change a file online, by clicking it, and then at the right side, click '''Edit this file'''.<br>
 +
Make changes, write a "commit message", and in the lower right, click '''Commit changes'''.<br>
 +
If you want to your changes to be part of the official repository,  click '''Pull Request''', and write a message.<br>
 +
This will notify the group of admins to review your changes.<br>
 +
If the changes reasonable and not malicious for the computer, your '''Pull Request''' will quickly be in the official repository.<br>
 
Note, that you cannot add files online.
 
Note, that you cannot add files online.

Revision as of 18:03, 1 December 2011

Introduction

We need your help to contribute to this project!

If you are interested in moving your script in to the repository, please read through these options.

Github user setup

Create a free account at github

https://github.com/plans

Then go to

https://github.com/Pymol-Scripts/Pymol-script-repo

Near the top right corner, click: Fork

In the top left corner, it should now say: YOUR_NAME / Pymol-script-repo. This is your own repository.
Click HTTP in the middle. It should be like:

https://YOUR_NAME@github.com/YOUR_NAME/Pymol-script-repo.git

Online - make changes to a file

You can change a file online, by clicking it, and then at the right side, click Edit this file.
Make changes, write a "commit message", and in the lower right, click Commit changes.
If you want to your changes to be part of the official repository, click Pull Request, and write a message.
This will notify the group of admins to review your changes.
If the changes reasonable and not malicious for the computer, your Pull Request will quickly be in the official repository.
Note, that you cannot add files online.