Frequently Asked Question
Using Git Server
Last Updated 6 days ago
Using Synology's GIT Server
Git is a fairly basic protocol, and uses the filesystem to store information, uploaded over ssh.
Install the GIT server package from the package Centre. Create a user that will be the GIT user. Use the GIT Server package to authorise that user for GIT.
Create a shared folder, call it something like GIT, and give the same user access to that folder.
Now, ssh to the synology nas, change to that shared folder (remember, it will be something like /volume1/GIT)
su to the user you created for git, e.g. su git Run the command :
git init -b main --bare
Where main is your initial branch. If you run ls -la now you'll see the git folder stricture.