|  |   | 
| (19 intermediate revisions by 2 users not shown) | 
| Line 1: | Line 1: | 
|  | The code for running experiments and analysing data is all stored on [//gitlab.science.ru.nl gitlab].
 |  | this page can be deleted | 
|  |   |  | 
|  | == How canI access Gitlab?==
 |  | 
|  | Login to [//gitlab.science.ru.nl gitlab] with your Science Faculty account. Some repositories.
 |  | 
|  |   |  | 
|  | == How can I get (clone) the code from the repository? ==
 |  | 
|  |   |  | 
|  | You can get the code from the repository in several ways, all with their own advantages.
 |  | 
|  |   |  | 
|  | === Download zip-file ===
 |  | 
|  |   |  | 
|  |   |  | 
|  | === Click ===
 |  | 
|  | * Instal the GitHUB client from https://windows.github.com/ or from https://mac.github.com/
 |  | 
|  | * Add the repository via Command line instructions
 |  | 
|  |   |  | 
|  | ** '''Git global setup'''
 |  | 
|  | ** git config --global user.name "Your Name"
 |  | 
|  | ** git config --global user.email "your.e@mail.adress"
 |  | 
|  | ** '''Create a new repository'''
 |  | 
|  | ** git clone https://gitlab.science.ru.nl/gvbentum/test.git
 |  | 
|  | ** cd test
 |  | 
|  | ** touch README.md
 |  | 
|  | ** git add README.md
 |  | 
|  | ** git commit -m "add README"
 |  | 
|  | ** git push -u origin master
 |  | 
|  | ** '''Existing folder or Git repository'''
 |  | 
|  | ** cd existing_folder
 |  | 
|  | ** git init
 |  | 
|  | ** git remote add origin https://gitlab.science.ru.nl/gvbentum/test.git
 |  | 
|  | ** git push -u origin master
 |  | 
|  |   |  | 
|  |   |  | 
|  | * [https://www.atlassian.com/software/sourcetree/overview Atlassian Sourcetree]
 |  | 
|  | * Clone the repository via a button press
 |  | 
|  |   |  | 
|  | == How can I get the changes others have made (fetch/pull)? ==
 |  | 
|  | * In Github for Windows: the Sync button
 |  | 
|  | * In Atlassian Sourcetree: the Pull button
 |  | 
|  |   |  | 
|  | == How can I put my changes of the code in the repository  (commit/push)?==
 |  | 
|  | You should have Master rights to beable to upload your changes to the remote repository.
 |  | 
|  | If you do not have own, you should work in a branch.
 |  | 
|  | * In Github for Windows and in Atlassian Source Tree: push the Branch button, and give it a meaningful name (i.e. your first name)
 |  | 
|  | Then you can upload
 |  | 
|  | * In Github for Windows: Sync
 |  | 
|  | * In Atlassian SourceTree: stage files - commit - push when commit
 |  | 
|  |   |  | 
|  | == Which repositories exist, and what are they for? ==
 |  | 
|  |   |  | 
|  | === Experiment ===
 |  | 
|  | For running experiments in the [[Sphere_lab]]
 |  | 
|  |   |  | 
|  | === Saccade ===
 |  | 
|  | For analysing fast eye and head movements in the data coming from the [[Sphere_lab]]
 |  | 
|  |   |  | 
|  | === PandA ===
 |  | 
|  | The old Perception and Action Matlab toolbox (obsolete, is replaced by Experiment and Saccade)
 |  | 
|  |   |  | 
|  | === Biophysics Labs ===
 |  | 
|  | For issue tracking
 |  |