Difference between revisions of "Code"

From biophysics
Jump to navigation Jump to search
Line 9: Line 9:
  
 
=== Download zip-file ===
 
=== Download zip-file ===
 
+
<todo>
 
 
 
=== Click ===
 
=== Click ===
 +
<todo>
 +
=== Command Line Instructions ===
 
* Instal the GitHUB client [https://windows.github.com/ for Windows] or [https://mac.github.com/ for Mac], and add the repository via Command line instructions:
 
* Instal the GitHUB client [https://windows.github.com/ for Windows] or [https://mac.github.com/ for Mac], and add the repository via Command line instructions:
 
** '''Git global setup'''
 
** '''Git global setup'''

Revision as of 13:41, 15 June 2023

The code for running experiments and analysing data is all stored on gitlab.

How can I access Gitlab?

Login to gitlab with your Science Faculty account. Then ask Marc to gain access to biophysics and biophysics_labs

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

<todo>

Click

<todo>

Command Line Instructions


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 be able 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?

Biophysics

For running experiments in the Sphere_lab, to analyse fast eye and head movements, to do bayesian data anaysis, and some other utilities