How do I create a user in git using tortiosegit?

I have been trying to google but cannot find the answer.

I would like to ask how to create a username / password list after creating an empty repository.

I've done some research and probably here are some tips.

a) Instead, create a public / private key and give the key to the git user.
b) Use something like git -credential-wincred or git -credential-winstore.

Which option will allow me to manage user / password authentication?

+3


source to share


1 answer


Git itself does not support authentication. Only the listener (ssh or http) which is then called by git does.
git-credential-xxx

located only on the client side (so as not to enter a password). This does not apply to the server side.



Adding an authorization level like gitolite can help you store public ssh keys for ssh authentication. You do not have to generate private keys and provide them to the user (or the private key will no longer be private).

+3


source







All Articles