These are the tasks I need to go through to create a new git repository on my Synology server. I already have the Git server running and a putty client connection setup.
I login to the server using the root user. Go to the directory \volume1\git which was a share I had create earlier.
chown me:users newproj
git init –bare
chown –R me:users *
Then logging to new project directory on the development machine and right click and using TortoiseGit leaving the bare option unclicked. You now have a local repository. Now push it to the arbitrary URL using the master branch ssh://email@example.com/volume1/git/newproj
You will then be prompted for the password as the Putty key has not been set up.