Skip to content
Snippets Groups Projects
Commit 8583d7d1 authored by Rovanion Luckey's avatar Rovanion Luckey
Browse files

Git clone now gets the right branch from the getgo

Simplified the instructions by two steps.
parent 1dfd585f
Branches
Tags
1 merge request!1Fix Links To Gitlab Cloud
Loading
@@ -144,13 +144,10 @@ GitLab Shell is an ssh access and repository management software developed speci
Loading
@@ -144,13 +144,10 @@ GitLab Shell is an ssh access and repository management software developed speci
cd /home/git cd /home/git
   
# Clone gitlab shell # Clone gitlab shell
sudo -u git -H git clone https://github.com/gitlabhq/gitlab-shell.git sudo -u git -H git clone https://github.com/gitlabhq/gitlab-shell.git -b v1.7.9
   
cd gitlab-shell cd gitlab-shell
   
# switch to right version
sudo -u git -H git checkout v1.7.9
sudo -u git -H cp config.yml.example config.yml sudo -u git -H cp config.yml.example config.yml
   
# Edit config and replace gitlab_url # Edit config and replace gitlab_url
Loading
@@ -174,14 +171,11 @@ To setup the MySQL/PostgreSQL database and dependencies please see [`doc/install
Loading
@@ -174,14 +171,11 @@ To setup the MySQL/PostgreSQL database and dependencies please see [`doc/install
## Clone the Source ## Clone the Source
   
# Clone GitLab repository # Clone GitLab repository
sudo -u git -H git clone https://github.com/gitlabhq/gitlabhq.git gitlab sudo -u git -H git clone https://github.com/gitlabhq/gitlabhq.git -b 6-3-stable gitlab
   
# Go to gitlab dir # Go to gitlab dir
cd /home/git/gitlab cd /home/git/gitlab
   
# Checkout to stable release
sudo -u git -H git checkout 6-3-stable
**Note:** **Note:**
You can change `6-3-stable` to `master` if you want the *bleeding edge* version, but never install master on a production server! You can change `6-3-stable` to `master` if you want the *bleeding edge* version, but never install master on a production server!
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment