1

Im running a self hosted GitLab on a Ubuntu Server 14.04. I've installed it with this guide https://github.com/gitlabhq/gitlabhq/blob/6-9-stable/doc/install/installation.md.

I've pushed a git repo to the GitLab server from another machine.

Where can i find the source files for this repo on the server machine?

luytsm
  • 43
  • 4

1 Answers1

0

The repos are stored as bare repositories in a path defined in config/gitlab.yml.example#L210-L212:

# REPOS_PATH MUST NOT BE A SYMLINK!!!
    repos_path: /home/git/repositories/
    hooks_path: /home/git/gitlab-shell/hooks/

By default: /home/git/repositories/

Again, those are bare repos, meaning repositories without working tree: you won't find source files there, only repo to which you can push to (because they don't have working tree to synchronize)

Community
  • 1
  • 1
VonC
  • 1,042,979
  • 435
  • 3,649
  • 4,283