gitlab:gitlab
Différences
Ci-dessous, les différences entre deux révisions de la page.
| gitlab:gitlab [2018/08/02 10:46] – créée ronan | gitlab:gitlab [2019/01/10 15:57] (Version actuelle) – rguyader | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | # apt-get install -y curl openssh-server ca-certificates | + | <code bash> |
| - | # | + | apt-get install -y curl openssh-server ca-certificates |
| - | # | + | apt-get install -y postfix |
| - | # | + | curl https:// |
| + | EXTERNAL_URL=" | ||
| + | </ | ||
| Create a group and a project, example : http:// | Create a group and a project, example : http:// | ||
| Example for adding an existing project directory : | Example for adding an existing project directory : | ||
| - | + | <code bash> | |
| - | # | + | cd existing_folder |
| - | # git init | + | git init |
| - | # git remote add origin http:// | + | git remote add origin http:// |
| - | # git add . | + | git add . |
| - | # git commit -m " | + | git commit -m " |
| - | # git push -u origin master | + | git push -u origin master |
| + | </ | ||
| Example for using git : | Example for using git : | ||
| - | + | <code bash> | |
| - | # | + | apt-get install git |
| - | # git clone http:// | + | git clone http:// |
| + | </ | ||
gitlab/gitlab.1533206767.txt.gz · Dernière modification : 2018/08/02 10:46 de ronan