github icon indicating copy to clipboard operation
github copied to clipboard

After initialising a repo, I cannot create a new branch

Open Cheukting opened this issue 5 years ago • 14 comments

Prerequisites

Description

After initializing a repo, I try using the botton at the bottom to create a master branch. But after typing "master" and press enter, it does not show in the branch dropdown menu.

Steps to Reproduce

  1. initilise a repo
  2. click on botton for the branches
  3. click on "New Branch"
  4. Type "master"
  5. press anter
  6. check the branch dropdown menu, it stays only at "no-branch" and does not have other options

Expected behavior:

Creted and switch to master branch. Or even automatically create and switch to master branch when init a repo.

Actual behavior:

I was stucked with no-branch.

Reproduces how often:

I am able to recreate it every time.

Versions

1.44.0 My OS is MacOS 10.14.6

Additional Information

Cheukting avatar Mar 12 '20 18:03 Cheukting

This issue should probably be moved to the atom/github repo

UziTech avatar Mar 12 '20 20:03 UziTech

Dude this problem is very annoying. Having the same issue.

autofakt avatar Apr 16 '21 03:04 autofakt

Same issue...

Darkgoatie avatar Apr 19 '21 15:04 Darkgoatie

Looks like you need to make a commit on Git(from/in atom) first and then it gives you a master branch which lets you push.

On Mon, Apr 19, 2021 at 8:32 AM Darkgoatie @.***> wrote:

Same issue...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/atom/github/issues/2418#issuecomment-822562503, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGEOH6SS55PS6C6LPAZEGDDTJREIFANCNFSM4LGVAOYQ .

autofakt avatar Apr 19 '21 17:04 autofakt

Making a detached commit from Atom solved it for me. I was then able to publish the repo on GitHub

mariavaghani avatar Jun 15 '21 16:06 mariavaghani

Making a detached commit from Atom solved it for me. I was then able to publish the repo on GitHub

I experienced the same issue, with the same solution.

onshisan avatar Sep 04 '21 20:09 onshisan

Same here

Zer0-Official avatar Sep 23 '21 01:09 Zer0-Official

I'm having this same issue, and I can't even make a detached commit (clicking the button does nothing)

TheXinventor avatar Nov 01 '21 16:11 TheXinventor

Same here, cannot stage, cannot create detatched commit

Woolton avatar Apr 18 '22 21:04 Woolton

i had the same issue, but i could make a detached commit after putting something in the "commit message" box, after which, the branch i added appeared as well

cata023 avatar May 15 '22 08:05 cata023

I have the same issue: cannot create branch and cannot make adetached commit! I am on Win 11

NataliaDw avatar May 19 '22 13:05 NataliaDw

I have the same issue

dellmaster avatar May 27 '22 08:05 dellmaster

same issue..

logitech33 avatar Sep 25 '22 20:09 logitech33

same issue... did anyone find a solution so far?

Subtlesounds avatar Dec 06 '22 09:12 Subtlesounds