Skip to content
Snippets Groups Projects
Commit ac88d512 authored by crazyscience's avatar crazyscience Committed by Brandon Patton
Browse files

Setting the working directory before git operations

parent 78ff99a7
No related branches found
No related tags found
1 merge request!3862Setting the working directory before git operations
Loading
Loading
@@ -16,6 +16,8 @@
### 2. Update GitLab
 
```bash
# Set the working directory
cd /home/gitlab/gitlab/
 
# Get latest code
sudo -u gitlab -H git fetch
Loading
Loading
Loading
Loading
@@ -7,6 +7,10 @@
### 2. Update code & db
 
```bash
#Set the working directory
cd /home/gitlab/gitlab/
# Get latest code
sudo -u gitlab git fetch
 
Loading
Loading
Loading
Loading
@@ -19,6 +19,7 @@ sudo chsh -s /bin/bash git
__2. git clone gitlab-shell__
 
```
cd /home/git/
sudo -u git -H git clone https://github.com/gitlabhq/gitlab-shell.git /home/git/gitlab-shell
```
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment