Custom repo path

So, I get the following url from gitlab for a newly created project

git@gitsource:kellye/calendar-tool-of-doom.git

This gives me the answer "does not seem to be a git repository error"

So I solved it

git@gitsource:repositories/kellye/calendar-tool-of-doom.git

and it worked fine.

Note that I changed repos_pathin gitlab.yml and config.yml (in git-shell) instead of an overloaded folder /source/repositories/.

Any ideas how I can get this url to be correct, or fix my problem?

I also made a symbolic link from / home / git / repositories to / source / repositories, so that it pulls the beginning repositoriesof the path fragments from this symbolic link.

This means that when I do git pull, the root directory is the directory /home/git... something is not configured correctly and I'm not sure what it is.

cd /source/repositories .profile .bash_rc .ssh/config, .

/home/git/repositories , , /home/git /home/git/repositories

, , gitlab URL git@gitsource:kellye/amazon-bucket-loader.git. , , , , git@gitsource:repositories/kellye/amazon-bucket-loader.git, .

... , , https://github.com/gitlabhq/gitlabhq/issues/3755

+5
1

/home/ git/.ssh/authorized_keys. , , gitlab-shell; :

command="/home/git/gitlab-shell/bin/gitlab-shell key-2",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa .......

SSH.

0

All Articles