Yade on github

From Yade

Revision as of 22:38, 12 March 2012 by Gladky.anton (talk | contribs)

Using yade on GitHub

Setup

1. Register on github.com

2. Add your SSH key to GitHub[1]:

 On the GitHub site Click “Account Settings” > Click “SSH Public Keys” > Click “Add another public key”

3. Set your username and email:

 git config --global user.name "Firstname Lastname"
 git config --global user.email "your_email@youremail.com"

4. Fork A Repo[2]:

 click the “Fork” button on the https://github.com/yade/trunk

5. Set Up Your Local Repo:

 git clone git@github.com:username/trunk.git

6. Configure remotes:

 git remote add upstream git@github.com:yade/trunk.git
 git fetch upstream

Committing changes

git add .                        #Adds newly created files, if they persist
git commit -am'Commit message'   #It can be done several times after every sufficient change
git push origin master           #Push you changes into a server