Commit 2f148190 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #5781 from Rovanion/patch-5

Git clone now gets the right branch from the getgo
parents e7960180 8583d7d1
...@@ -144,13 +144,10 @@ GitLab Shell is an ssh access and repository management software developed speci ...@@ -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
...@@ -174,14 +171,11 @@ To setup the MySQL/PostgreSQL database and dependencies please see [`doc/install ...@@ -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!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment