benweet / stackedit

In-browser Markdown editor
https://stackedit.io/
Apache License 2.0
21.48k stars 2.7k forks source link

"HTTP error 409" when trying to synchronize with an empty github repo #1828

Open noamraph opened 1 year ago

noamraph commented 1 year ago

I created an empty github repo and tried to synchronize, and got a small message "HTTP error 409". It took me some time to realize that I should create a first commit (a README file).

I suggest to explain this.

Also, I actually started without any repo, and got a small message "HTTP error 404" (I think). It took me some time to think about creating a repo.

I suggest to make it clear: when syncing a repo, check if it exists, and if not, explain the problem.

If there are no commits, I think it makes sense to just create the first commit, but if it's a problem, just explain that you need a commit, so you can create a README and continue.