GIT – Setup on Synology Diskstation

  1. Install “Git Server” via Package Manager
  2. Create a common folder”git”
  3. Login via SSH and navigate to the git folder and create a new git repository:
    cd /volume1/git
    git --bare init <repo_name>.git
  4. Try to clone the new git repository on your local mashine
    git clone ssh://<username>@<NAS-IP>/volume1/git/<repo_name>.git

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *