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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a87f5c60
Commit
a87f5c60
authored
May 07, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3862 from crazyscience/patch-3
Setting the working directory before git operations
parents
4604b67b
ac88d512
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 @
a87f5c60
...
@@ -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 @
a87f5c60
...
@@ -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 @
a87f5c60
...
@@ -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