Forked from
R3 / school / courses
1194 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
installation.md 1.77 KiB
Installation

Linux (Ubuntu)
$ sudo apt-get install git-all
**macOS**
Install Xcode Command Line Tools
**Windows**
Follow instructions on git-for-windows.github.io.
or: MobaXTerm
with git
plugin: mobaxterm.mobatek.net.
More on git-scm.com/book/en/v2/Getting-Started-Installing-Git
How to start?
Linux (Ubuntu) and macOS
Start the terminal (or any other shell)
**Windows**
Start GUI Bash
or MobaXTerm
.
git
?
How to configure $ git config --global user.name "Firstname Lastname"
$ git config --global user.email "first.last@uni.lu"
Does it work?
$ git --version
# git version 2.10.0
Test the configuration
Test whether your username and email have been registered
$ git config --list
This should list the configuration with `user.name` and `user.email`.
clone
a repository?
How do I You can clone a repository with
$ git clone https://github.com/userName/myRepo.git myRepo
Clone the training repository with ```bash $ git clone https://git-r3lab.uni.lu/git-training/practice.git practice ```
You may be prompted to enter your credentials.
Any other rudimentary method such as
'I simply download the .zip
un unzip it - works like a charm!'
shall be avoided!
The COBRAToolbox
?
I need Simply clone
the repository (i.e., retrieve a copy)
$ git clone https://github.com/opencobra/cobratoolbox.git cobratoolbox
Do not do it right now! Thank you.