... | ... | @@ -18,25 +18,6 @@ To run something like `sudo -u git -H git checkout v2.7.2`. |
|
|
|
|
|
You need to first `sudo su - git` and then after successfully logging in with the git users identity and environment run `git checkout v2.7.2`.
|
|
|
|
|
|
|
|
|
### Commands
|
|
|
|
|
|
|
|
|
Restart Gitlab
|
|
|
```bash
|
|
|
cd /home/git/gitlab
|
|
|
|
|
|
sudo service gitlab restart
|
|
|
```
|
|
|
|
|
|
Clean up assets and cache
|
|
|
```bash
|
|
|
cd /home/git/gitlab
|
|
|
|
|
|
sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production
|
|
|
```
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
#### References
|
... | ... | |