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
Post-Meta
- Published: July 15, 2019
- Last modified: July 15, 2019
Comments