2016-04-02 15:33:36 +02:00
|
|
|
# git.kremalicous
|
|
|
|
|
2016-04-21 19:48:24 +02:00
|
|
|
URL: https://www.git.berlin
|
|
|
|
SSH Host: git.berlin
|
2016-04-02 15:33:36 +02:00
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
2016-04-21 19:48:24 +02:00
|
|
|
http://doc.gitlab.com/omnibus/
|
2016-04-02 15:33:36 +02:00
|
|
|
|
|
|
|
## Handy commands
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# connect
|
2016-04-21 19:48:24 +02:00
|
|
|
ssh m@git.berlin
|
2016-04-02 15:33:36 +02:00
|
|
|
|
2016-04-21 19:48:24 +02:00
|
|
|
cd /etc/gitlab/
|
|
|
|
cd /var/opt/gitlab/
|
2016-04-02 15:33:36 +02:00
|
|
|
|
2016-04-21 19:48:24 +02:00
|
|
|
# reconfigure all the things
|
|
|
|
sudo gitlab-ctl reconfigure
|
|
|
|
|
|
|
|
# restart all the things
|
|
|
|
sudo gitlab-ctl restart
|
2016-04-02 15:33:36 +02:00
|
|
|
|
|
|
|
# run checks
|
2016-04-21 19:48:24 +02:00
|
|
|
sudo gitlab-rake gitlab:check
|
2016-04-02 15:33:36 +02:00
|
|
|
|
|
|
|
# clean all the things
|
2016-04-21 19:48:24 +02:00
|
|
|
sudo gitlab-rake assets:clean assets:precompile cache:clear
|
2016-04-02 15:33:36 +02:00
|
|
|
|
|
|
|
# backup
|
2016-04-21 19:48:24 +02:00
|
|
|
sudo gitlab-rake gitlab:backup:create
|
2016-04-02 15:33:36 +02:00
|
|
|
|
|
|
|
```
|