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@
  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@
  2. Push

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