How do we change the URL of a working GitLab install?

GitLab Omnibus For an Omnibus install, it is a little different. The correct place in an Omnibus install is: /etc/gitlab/gitlab.rb external_url ‘http://gitlab.example.com’ Finally, you’ll need to execute sudo gitlab-ctl reconfigure and sudo gitlab-ctl restart so the changes apply. I was making changes in the wrong places and they were getting blown away. The incorrect paths … Read more

Git push error pre-receive hook declined

GitLab by default marks master branch as protected (See part Protecting your code in https://about.gitlab.com/2014/11/26/keeping-your-code-protected/ why). If so in your case, then this can help: Open your project > Settings > Repository and go to “Protected branches”, find “master” branch into the list and click “Unprotect” and try again. via https://gitlab.com/gitlab-com/support-forum/issues/40 For version 8.11 and … Read more