Skip to content

Error in Github Documentation #23352

Discussion options

You must be logged in to vote

That means you’re using an old Git version and probably should update. The -b option lets you set the name of the initial branch.

If you don’t care about the initial branch name you can remove the option and just run git init to use the default name, you can always rename it later.

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants