Skip to content

A space character is not a valid branch name #1288

Closed

Description

@niik

image

Typing a single space character in the branch dialog seems to indicate that the branch can be created. We have a check that prevents us actually attempting to create it so the create button doesn't do anything but we should disable the button and not show the error when the branch name is white space only.

Activity

  1. added
    bug
    on Apr 25, 2017
  2. tierninho commented on Apr 26, 2017

    @tierninho
    Contributor

    Similarly, pushing a local repo that begins with a [space] to dotcom, creates a repo on dotcom called https://github.com/tierninho-tester/-.git

    Plus you can have two identical origins, which results in one getting fatal: refusing to merge unrelated histories

    screen shot 2017-04-26 at 2 59 22 pm

  3. shiftkey commented on Apr 26, 2017

    @shiftkey
    Member

    Plus you can have two identical origins, which results in one getting fatal: refusing to merge unrelated histories

    Yeah, that's Git freaking out because the initial commit created on dotcom and your local repository don't have a common origin and can't be reconciled. Can you open a separate issue to track that?

  4. locked as resolved and limited conversation to collaborators on Jul 22, 2018
  5. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions