Categories
Tools

Create a local and remote git repository pair

1. From the client connect to the remote server: e.g. ssh admin@192.168.1.72 2. Create an empty folder on the server for the repository.mkdir repo.git (In place of “repo” use your project name) 3. On the server, go on the repository folder: cd repo.git 4. Initialise the empty remote repository as bare.git init –bare 5. On […]