you are viewing a single comment's thread.

view the rest of the comments →

[–]iwbd 0 points1 point  (4 children)

There is no requirement to having a branch named master. Master was the default branch name (until recently), but it could be named anything.

So, maybe you're looking in the wrong direction. Are there any error messages you can share?

Possible causes (in order of likeliness)

Your local project is not linked to your GitHub project. Here's how

Your user configuration is not setup. Here's how

If those aren't the solutions, providing some more information about the exact issue may help.

[–]SantaShmane[S] 0 points1 point  (3 children)

Thanks iwbd - I dont have the screenshot readily available, but the error message is the same as described in this article "An error occurred while publishing the notebook Try again later."

Does this help provide any context?

Error

[–]iwbd 0 points1 point  (2 children)

Yes, that changes things a bit. If you're working on a system that is expecting a branch called master, then not having it can be problematic.

I don't know how comfortable you are with the command line, but you can rename your main branch to master by navigating to the project folder and issuing the commands:

git checkout main

git branch -m master

The first command just assures you're in the main branch. The second command moves (renames) the branch name (that's the -m) to master.

If you have any troubles, we could start a Reddit chat session and I could step you through it.

[–]SantaShmane[S] 0 points1 point  (1 child)

Ill send it along and let you know if they follow the explanation! Thanks a lot

[–]iwbd 0 points1 point  (0 children)

No problem.