Difference between revisions of "Get the MNE-CPP source code"

From MNE-CPP Wiki
Jump to: navigation, search
(Created page with "# Fork the repository from the main repository (mne-tools/mne-cpp). ## Go to the [https://github.com Git Hub website] and sign into your Git Hub account. ## Go to the [https:/...")
 
Line 1: Line 1:
 +
This page will show you how to find the latest MNE-CPP source code, install necessary development tools and fork/copy the code to your own Git Hub account:
 +
 
# Fork the repository from the main repository (mne-tools/mne-cpp).
 
# Fork the repository from the main repository (mne-tools/mne-cpp).
 
## Go to the [https://github.com Git Hub website] and sign into your Git Hub account.
 
## Go to the [https://github.com Git Hub website] and sign into your Git Hub account.
Line 4: Line 6:
 
## Click on the upper right ''Fork'' button. This will copy the main repository to your own Git Hub account. This is the code you can now work with, without breaking the project's main code.
 
## Click on the upper right ''Fork'' button. This will copy the main repository to your own Git Hub account. This is the code you can now work with, without breaking the project's main code.
 
# If Git is not installed on your local machine, download Git for [https://git-scm.com/download/win Windows] or [https://git-scm.com/download/mac Mac] and install it.
 
# If Git is not installed on your local machine, download Git for [https://git-scm.com/download/win Windows] or [https://git-scm.com/download/mac Mac] and install it.
# Git clone your forked remote (Git Hub) repository to your local machine. There are two ways to do this:
+
# Clone your forked (Git Hub) repository to your local machine. There are two ways to do this:
 
#:* Option 1: Make use of the Git commands via the command console.
 
#:* Option 1: Make use of the Git commands via the command console.
#:* Option 2: Make use of a Git GUI client, such as [https://tortoisegit.org/download/ Tortoise Git] (Windows) or (Mac).
+
#:*:#
 +
#:* Option 2: Make use of a Git GUI client, such as [https://tortoisegit.org/download/ Tortoise Git] (Windows) or [http://git-cola.github.io/ Git-Cola] (Windows, Linux, Mac). The following steps are performed based on Tortoise Git, depending on your Git GUI client you may have to change some steps:
 +
#:*:# Right mouse click in the folder where you want your local repository to be stored.
 +
#:*:# Select ''Git Clone...'' and paste in the adress to your forked Git Hub repository. You can find the adress on your forked repositories Git Hub website. Your adress will look something like this ''https://github.com/[Your GitHub username goes here]/mne-cpp''
 +
# You now have the latest MNE-CPP source code on your remote Git Hub and local machine.

Revision as of 19:25, 4 January 2016

This page will show you how to find the latest MNE-CPP source code, install necessary development tools and fork/copy the code to your own Git Hub account:

  1. Fork the repository from the main repository (mne-tools/mne-cpp).
    1. Go to the Git Hub website and sign into your Git Hub account.
    2. Go to the MNE-CPP's Git Hub website.
    3. Click on the upper right Fork button. This will copy the main repository to your own Git Hub account. This is the code you can now work with, without breaking the project's main code.
  2. If Git is not installed on your local machine, download Git for Windows or Mac and install it.
  3. Clone your forked (Git Hub) repository to your local machine. There are two ways to do this:
    • Option 1: Make use of the Git commands via the command console.
    • Option 2: Make use of a Git GUI client, such as Tortoise Git (Windows) or Git-Cola (Windows, Linux, Mac). The following steps are performed based on Tortoise Git, depending on your Git GUI client you may have to change some steps:
      1. Right mouse click in the folder where you want your local repository to be stored.
      2. Select Git Clone... and paste in the adress to your forked Git Hub repository. You can find the adress on your forked repositories Git Hub website. Your adress will look something like this https://github.com/[Your GitHub username goes here]/mne-cpp
  4. You now have the latest MNE-CPP source code on your remote Git Hub and local machine.