Difference between revisions of "Yade on github"
From Yade
Gladky.anton (talk | contribs) (Created page with "== Using yade on GitHub == === Setup === 1. Register on github.com 2. Add your SSH key to GitHub[http://help.github.com/linux-set-up-git/]: On the GitHub site Click “Accoun…") |
Gladky.anton (talk | contribs) |
||
Line 2: | Line 2: | ||
=== Setup === |
=== Setup === |
||
+ | |||
1. Register on github.com |
1. Register on github.com |
||
Line 20: | Line 21: | ||
git remote add upstream git@github.com:yade/trunk.git |
git remote add upstream git@github.com:yade/trunk.git |
||
git fetch upstream |
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 |
Revision as of 21:38, 12 March 2012
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