Commit 8583d7d186dc11ee5f5a05926fa3cf4dbe62eb52
1 parent
1dfd585f
Exists in
master
and in
4 other branches
Git clone now gets the right branch from the getgo
Simplified the instructions by two steps.
Showing
1 changed file
with
2 additions
and
8 deletions
Show diff stats
doc/install/installation.md
... | ... | @@ -144,13 +144,10 @@ GitLab Shell is an ssh access and repository management software developed speci |
144 | 144 | cd /home/git |
145 | 145 | |
146 | 146 | # Clone gitlab shell |
147 | - sudo -u git -H git clone https://github.com/gitlabhq/gitlab-shell.git | |
147 | + sudo -u git -H git clone https://github.com/gitlabhq/gitlab-shell.git -b v1.7.9 | |
148 | 148 | |
149 | 149 | cd gitlab-shell |
150 | 150 | |
151 | - # switch to right version | |
152 | - sudo -u git -H git checkout v1.7.9 | |
153 | - | |
154 | 151 | sudo -u git -H cp config.yml.example config.yml |
155 | 152 | |
156 | 153 | # Edit config and replace gitlab_url |
... | ... | @@ -174,14 +171,11 @@ To setup the MySQL/PostgreSQL database and dependencies please see [`doc/install |
174 | 171 | ## Clone the Source |
175 | 172 | |
176 | 173 | # Clone GitLab repository |
177 | - sudo -u git -H git clone https://github.com/gitlabhq/gitlabhq.git gitlab | |
174 | + sudo -u git -H git clone https://github.com/gitlabhq/gitlabhq.git -b 6-3-stable gitlab | |
178 | 175 | |
179 | 176 | # Go to gitlab dir |
180 | 177 | cd /home/git/gitlab |
181 | 178 | |
182 | - # Checkout to stable release | |
183 | - sudo -u git -H git checkout 6-3-stable | |
184 | - | |
185 | 179 | **Note:** |
186 | 180 | You can change `6-3-stable` to `master` if you want the *bleeding edge* version, but never install master on a production server! |
187 | 181 | ... | ... |