stackedit icon indicating copy to clipboard operation
stackedit copied to clipboard

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

Open noamraph opened this issue 2 years ago • 0 comments

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.

noamraph avatar Jun 23 '23 14:06 noamraph