woolfg / dokuwiki-plugin-gitbacked

Plugin for DokuWiki to store/sync files and media with a git repo
GNU General Public License v2.0
74 stars 26 forks source link

where to set repo-url #45

Closed TheRojam closed 5 years ago

TheRojam commented 6 years ago

Where can i set the repo-url for this?

pklejch commented 6 years ago

You can do it manually. Go to the right folder and run:

git init 
git remote add origin ssh://user@host/srv/git/example
git add .
git commit -m "First commit."
git push -u origin master

This will init repository, add remote, and pushes all files in that directory to remote branch master.