IT漫步

技术生活札记©Yaohui


Enable LFS (Large File Storage) in GitLab

Refer to official docs: https://docs.gitlab.com/ce/administration/lfs/manage_large_binaries_with_git_lfs.html Requirements Git LFS is supported in GitLab starting with version 8.2 Git LFS must be enabled under project settings Git LFS client version 1.0.1 and up   1. Enable LFS on GitLab Server a). Configuration for Omnibus installations In  /etc/gitlab/gitlab.rb: # Change to true to enable lfs - enabled by default …


Configuring GitLab external URL

Configuring the external URL for GitLab In order for GitLab to display correct repository clone links to your users it needs to know the URL under which it is reached by your users, e.g. http://gitlab.example.com. Add or edit the following line in /etc/gitlab/gitlab.rb: external_url "http://gitlab.example.com" Run sudo gitlab-ctl reconfigure for the change to take effect. …

Proudly powered by WordPress