trilbymedia / grav-plugin-git-sync

Collaboratively Synchronize your Grav `user` folder hosted on GitHub, BitBucket or GitLab
Apache License 2.0
240 stars 58 forks source link

error: src refspec development does not match any error #152

Closed hdwebpros closed 4 years ago

hdwebpros commented 4 years ago

Maybe I am doing something wrong here. I am trying to get GitSync to sync content to the development branch of our repo.

I have set it up with the following:

I have a repo with a development branch already in place with commits in it.

When I click save on this plugin, I get the following error:

error: src refspec development does not match any error: failed to push some refs to '[bitbucketurl]'

Any idea what I can do to get the plugin to save and push content to that branch?

hdwebpros commented 4 years ago

Got it!

Had to wipe out the existing .git folder and plugin, re-install, CLI into the dev site, change branch via git to the development branch