antony-p
1/4/2018 - 2:37 PM

Setup git repo on Synology

Setup git repo on Synology

#Setup Repo

  1. ssh to box as root only ssh root@10.0.1.10
  2. cd /volume1/git
  3. mkdir new.repo.git and enter dir
  4. git init --bare

#Push to Repo

  1. Add remote repo in SourceTree ssh://antonyGit@10.0.1.10/volume1/git/repo.name.git
  2. Push

If there are any odd permission errors, ensure that the repo directory is owned by antonyGit. If not, chown -R antonyGit repo.name.git