Don't know where to look?

You can search all my notes here

Creating a GIT-repository

On the server

sh
mkdir repository.git
cd repository.git
git --bare init

On the client

sh
git init
git add .
git commit -m "initial"
git add origin ssh://example.com/git/repository.git
git push origin master

Comments

Post-Meta
  • Published: July 15, 2019
  • Last modified: July 15, 2019