![]() Git -init bare How to clone the new repositoryīack at your local machine, issue the command: Initialize the new (bare) git repository: How to create the repositoryīack on your remote machine create a repository directory (still as the user git) in the git users’ home with:Ĭreate a new project directory (we’ll name it PROJECTX) with: ![]() Paste the key and then save and close the file. Open the authorized_keys file on the remote machine with: Where USER is the user who’ll be working with git. Now, on your local machine view the id_rsa.pub file of the user who will be working on the git repository with the command: ![]() ssh directory and give it the proper permissions:Ĭreate the authorized_keys file and give it the correct permissions with: Give the new user a password and answer the remaining questions.Ĭhange into the git users’ HOME directory with:Ĭreate the. On the remote machine create a git user with: How to create a git user and copy your SSH keys ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |