How to Begin a Project from the Current Expertiza Repository: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
* Add an ssh key for Github on your computer if you have not done so already. <br /><pre>ssh-keygen -trsa -C "your_email@example.com"</pre>
* Add an ssh key for Github on your computer if you have not done so already. <br /><pre>ssh-keygen -trsa -C "your_email@example.com"</pre>
** Follow the instructions at the prompt. You can decide whether to set a password or not for the key.
** Follow the instructions at the prompt. You can decide whether to set a password or not for the key.
** Copy the output of the following command and paste it into the new ssh key dialogue on Github: https://github.com/settings/ssh:<br /><code>cat ~/.ssh/id_rsa.pub</code>
** Copy the output of the following command and paste it into the new ssh key dialogue on Github: https://github.com/settings/ssh:<br /><pre>cat ~/.ssh/id_rsa.pub</pre>
* Copy the URL of your forked repository
* Copy the URL of your forked repository
** It should be in the form: git@github.com:<Your Github Username>/expertiza.git
** It should be in the form: git@github.com:<Your Github Username>/expertiza.git
* On your development machine run:<br /><code>git clone git@github.com:<Your Github Username>/expertiza.git</code>
* On your development machine run:<br /><pre>git clone git@github.com:<Your Github Username>/expertiza.git</pre>
** The remote is the URL you copied earlier.
** The remote is the URL you copied earlier.
* Now you are in the current Expertiza working directory!
* Now you are in the current Expertiza working directory!

Revision as of 22:24, 31 January 2013

  • Login to Github or create an account.
  • Navigate to the Expertiza repository and click the fork icon in the upper right corner
  • Add an ssh key for Github on your computer if you have not done so already.
    ssh-keygen -trsa -C "your_email@example.com"
    • Follow the instructions at the prompt. You can decide whether to set a password or not for the key.
    • Copy the output of the following command and paste it into the new ssh key dialogue on Github: https://github.com/settings/ssh:
      cat ~/.ssh/id_rsa.pub
  • Copy the URL of your forked repository
    • It should be in the form: git@github.com:<Your Github Username>/expertiza.git
  • On your development machine run:
    git clone git@github.com:<Your Github Username>/expertiza.git
    • The remote is the URL you copied earlier.
  • Now you are in the current Expertiza working directory!