Code - GorgonCryoEM/Gorgon GitHub Wiki
Getting Started
Gorgon project is maintained under version control, Git, and is hosted on GitHub. In order to contribute to Gorgon development or to be added as a team member or outside collaborator, you will need a GitHub account.
- GitHub account setup.
- Get a GitHub account.
- Upload your SSH public key to your GitHub account. More details here and here.
- Get the code.
- Clone.
* Via ssh:
git clone --recursive [email protected]:GorgonCryoEM/Gorgon.git
or * Via https:git clone --recursive https://github.com/GorgonCryoEM/Gorgon.git
- Update.
```
git fetch
git pull
git submodule update --init
```
- Setup branches.
-
Checkout and track branch
develop
.git checkout -t origin/develop
-
Always branch off
develop
. Use an appropriate name fortopic-branch
.git checkout -b topic-branch develop
-
Do some work :clock1030: ..... :factory:, .... let your inspirations out ...... :performing_arts: ...... :clock11: ..... :dizzy_face: ...... :clock1: ...... :sleepy:.
-
Share with the world, more details.
git push origin topic-branch
- Choose
develop
as the base branch. - Choose your
topic-branch
as the compare branch.
Contribution After Initial Setup
-
Update
develop
branch, assuming it exists.git checkout develop git fetch git pull
-
Branch off
develop
. Use an appropriate name fortopic-branch
.git checkout -b topic-branch develop
-
Do some work.
-
Push your changes.
git push origin topic-branch
- Choose
develop
as the base branch. - Choose your
topic-branch
as the compare branch.
Some resources on GitHub: