Simple git setup and remote transfer
First we want to initialize a new repository on our local machine and then commit the source.
1 2 3 4 5 |
$ git init $ git add . $ git commit -m 'Initial commit of the blog.' [master (root-commit) 87f3b95] Initial commit of the blog. 1034 files changed, 262684 insertions(+), 0 deletions(-) |
After that we create a so called bare repository to be able to copy it to our server.
1 2 3 4 |
$ cd .. $ git clone blog blog.git --bare Cloning into bare repository blog.git... done. |
Let’s make a…