Closed GustavoMarcante closed 5 years ago
Hi @GustavoMarcante , did you also make a commit to your GitLab repo? This video of using Git Sync with GitLab might also be of help too: https://youtu.be/ukrm0anElHI?t=85
Great! That's it: the master branch is created only after you have at least one file in it. If you create the repository WITH the README.md file, you are also creating the master branch; otherwise, don't. It's interesting to note that the README.md file itself is not synchronized, it is only present in the GitLab repository. It may be obvious to anyone who is accustomed to working with git repositories, but I suggest making a note about it in the instructions to prevent this from happening again. Thanks
Grav files are now in my server. I created a new empty repository in GitLab. I follow the 4 steps of the wizard, where the connection test was successful. I clicked in Synchronize button, and I got the answer: warning: redirecting to https://gitlab.com/myuser/newrepo.git/ fatal: Couldn't find remote ref master. I tried both with and without Web Hook Secret. I don't know if Gitlab creates a master branch, as I could not find branches in it, or the fact that Gitlab says that automatically protects master branch is related to it. Thanks!