-
Notifications
You must be signed in to change notification settings - Fork 1
1. Checking out (cloning) GEM for Git beginners
If you want to work with the GEM code, e.g. to replicate the experiment or customize the adaptive metronome functionality to suit your needs, you will need a GitHub account. If you don't have a GitHub account and don't know where to start, here are some easy steps to follow:
store your username and password in a safe place and keep them handy for the steps to come.
-
Download Git for your operating system and run the installer package.
-
On the command line, type: git config --global user.name "Your Name"
- be sure to replace "Your Name" with whatever you want your username to be. Your Git username that you created in step 1 would be a good option.
Note that there will be no output form the shell.
- On the command line, type: git config --global user.email "[email protected]"
- be sure to replace "[email protected]" the email address you used when signing up for Git.
Note that there will be no output form the shell.
- Via the command line, navigate to the directory in which you would like to clone GEM
if you're not sure what directory you're currently in, type "ls" into the command line. This will output a list of files in your current directory. To change locations use the "cd" command followed by the desired directory. To step up your directory hierarchy, use "cd .." If you want to create a new directory for your GEM code, use "mkdir" to create a new directory, e.g. 'mkdir ~/MyGEMclone'
-
Now return to your browser and follow these instructions.
-
GEM is now cloned to your computer! If you want to update your GEM code in the future (because we have added new features), navigate to your GEM directory in Terminal or Bash and type: git pull.
-
(for internal use or invited collaborators) If you are collaborating on aspects of the GEM code, please create your own branch and make all changes there. Here are some basic instructions and here are some more detailed instructions and examples.