Gitolite One User – Many Keys – Different usernames

The current recommended way according to the documentation “The simplest and most understandable is to put their keys in different subdirectories [inside your /kedir], (alice.pub, home/alice.pub, laptop/alice.pub, etc).” reference: https://gitolite.com/gitolite/basic-admin.html#multiple-keys-per-user The old way If you are asking how you accomplish the following: David (home computer) David (work computer) David (laptop) With different ssh keys on … Read more

How do I rename a Git repository created with gitolite?

As stated in the gitolite basic-admin manual: renaming a repo This is similar; there’s no code to do this in gitolite. What you do is: log on to the server, cd $REPO_BASE (default: cd ~/repositories), and mv old-name.git new-name.git back on your gitolite-admin clone, edit conf/gitolite.conf and replace all occurrences of old-name with new-name. Then … Read more

Which is the best git hosting sw? – Gitolite vs. Gitlab vs. Gitorius [closed]

Gitolite is not a git hosting environment: it is an authorization layer, which grants or denies access to a git repo. It is the https or ssh layer which allows the authentication of a user, and the git repo hosting itself. See “How do programs like gitolite work?” GitLab and Gitorious both provide git hosting, … Read more

Deleting Git Repository Gitolite?

Deleting the repository from the server and removing all configurations is all you have to do. Quoting from the manual: Removing a repo is not so straightforward. You certainly must remove the appropriate lines from the conf/gitolite.conf file, but gitolite will not automatically delete the repo from the server. You have to log on to … Read more

gitosis vs gitolite? [closed]

I am looking for installing a git server to share projects with my team. You can just use git. To have a git server the only thing you need on the remote server is git. If you don’t require fine-grained permissions (sharing with only your team suggests that’s a possibility) or any extra features, you … Read more

Specify an SSH key for git push for a given domain

Even if the user and host are the same, they can still be distinguished in ~/.ssh/config. For example, if your configuration looks like this: Host gitolite-as-alice HostName git.company.com User git IdentityFile /home/whoever/.ssh/id_rsa.alice IdentitiesOnly yes Host gitolite-as-bob HostName git.company.com User git IdentityFile /home/whoever/.ssh/id_dsa.bob IdentitiesOnly yes Then you just use gitolite-as-alice and gitolite-as-bob instead of the hostname … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)