Re: User authentication in GIT
- From
Sitaram Chamarty <sitaramc@gmail.com>
- Date
- Feb 11, 2012, 05:17 UTC
- Message-ID
- <CAMK1S_gOhaX4SaUZk8RrByDa_HPuMLDs=T2M2djXDhvESJu1Vg@mail.gmail.com>
- In-Reply-To
- <1328893056653-7273350.post@n2.nabble.com>
On Fri, Feb 10, 2012 at 10:27 PM, supadhyay <supadhyay@imany.com> wrote:
Show 8 quoted lines
> Now my confusion is my existing source code repository directory path during > migration /home/GITAdmin/migration/<repository.git> and now through gitolite > I want to manage both users and repositories but through gitolite it add > repository in different path /home/GITAdmin/repositories/<repository.git>. > > > Can you please help how through gitolite I can add new repository on to the > same my exisitng migrated repository directory?
gitolite keeps all its repos in whatever directory is pointed to by $REPO_BASE in the rc file. This is $HOME/repositories by default but you can change it to whatever you want. Instructions for changing it are in the 4th bullet of http://sitaramc.github.com/gitolite/rc.html#gitolite_rc_rarely_changed_variables_
If you are moving existing repos into gitolite, be sure to read http://sitaramc.github.com/gitolite/moverepos.html -- if you do it wrong you may end up without the crucial "update" hook and then all access control will fail.