Remote SVN to Github couldn't run automaticly

Follow mirror steps

subgit configure …

change subgit/config file add:

triggerPostReceive = true

subgit install test.git

echo ‘git push --all --follow-tags origin’ > test.git/hooks/user-post-receive

in dir of test.git:

git remote add origin
git push origin --all
subgit daemon start .

When I create new file commit to SVN, no changes sync to Github yet


honestly, I don’t get which exact mirror steps are you following? Neither our remote mirror guide

not our guide for GitHub

suggests using subgit daemon start command, where did you take it from?
Could you please share more details on your setup, it’s not clear enough, too: do I understand correctly you are trying to mirror an SVN repository with GitHub repository? Has the initial import (started with subgit install) finished successfully? Did the data that was imported from SVN to SubGit repository appeared in GitHub and are all the revisions are present on GitHub? Does a new SVN revision appear in the SubGit repository after it’s been created?

Hi, I followed the first URL you mentioned.
All these steps run without errors.

I can see the git commits from SVN. But don’t know why could sync my new operations on SVN to Git.
I run subgit daemon start already, no help.

I must run the git push command manually.

subgit fetch .

SubGit version 3.3.12 (‘Bobique’) build #4419

Fetching revisions from SVN repository:
r8 => 2f860b2 refs/heads/sync/master
Updating refs:
f92e824…2f860b2 trunk → sync/master
Sync completed successfully

git push --all --follow-tags origin

Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 293 bytes | 293.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
d7e7b6a…f92e824 sync/master → sync/master

BTW, I’m using this on windows 10.