Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
ac88d512
Commit
ac88d512
authored
May 06, 2013
by
crazyscience
Committed by
Brandon Patton
May 07, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setting the working directory before git operations
parent
78ff99a7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
doc/update/4.0-to-4.1.md
doc/update/4.0-to-4.1.md
+2
-0
doc/update/4.1-to-4.2.md
doc/update/4.1-to-4.2.md
+4
-0
doc/update/4.2-to-5.0.md
doc/update/4.2-to-5.0.md
+1
-0
No files found.
doc/update/4.0-to-4.1.md
View file @
ac88d512
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
### 2. Update GitLab
### 2. Update GitLab
```
bash
```
bash
# Set the working directory
cd
/home/gitlab/gitlab/
# Get latest code
# Get latest code
sudo
-u
gitlab
-H
git fetch
sudo
-u
gitlab
-H
git fetch
...
...
doc/update/4.1-to-4.2.md
View file @
ac88d512
...
@@ -7,6 +7,10 @@
...
@@ -7,6 +7,10 @@
### 2. Update code & db
### 2. Update code & db
```
bash
```
bash
#Set the working directory
cd
/home/gitlab/gitlab/
# Get latest code
# Get latest code
sudo
-u
gitlab git fetch
sudo
-u
gitlab git fetch
...
...
doc/update/4.2-to-5.0.md
View file @
ac88d512
...
@@ -19,6 +19,7 @@ sudo chsh -s /bin/bash git
...
@@ -19,6 +19,7 @@ sudo chsh -s /bin/bash git
__2. git clone gitlab-shell__
__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
sudo -u git -H git clone https://github.com/gitlabhq/gitlab-shell.git /home/git/gitlab-shell
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment