publishing an unborn repository disabled for no apparent reason
See original GitHub issueIf I create a new repo with an unborn branch, and with no commits, then the Publish
button is not clickable as intended.
However, the user can go to Repository settings and click the Publish
button, resulting in a Not a valid object name: 'master'
error and the nav Publish
button still greyed out.
Reproduce:
- create new repo with no commits
- go to Repo settings, click publish
- error surfaces, but repo still published
- Publish button in nav area still unclickable
related to #2086
tested in 1.0.0-beta3, mac
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
git - Github website publish cannot publish unborn HEAD
cannot publish unborn HEAD. This issue occurs because your github repository is empty i.e without a single file.Below is the snapshot.
Read more >How to Disable a repository in Azure DevOps? - Daily .NET Tips
Under the Project Settings, select Repositories, and navigate to Settings for the Repository. Under the Settings, you will find the option “Disable Repository” ......
Read more >Public Law 106-554 - GovInfo
In publishing this Act in slip form and in the United States Statutes at Large ... disabilities and non-disabled children) and teachers of...
Read more >git-config Documentation - Git
If the global or the system-wide configuration files are missing or unreadable they will be ignored. If the repository configuration file is missing...
Read more >afman41-210.pdf - Air Force
This publication implements Air Force Policy Directive (AFPD) 41-2, ... Non-Military Medical Facilities also known as Absent Sick Status.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tierninho nice spot - yeah, I think we need this sort of granularity for this button state:
HEAD
- enabled (can publish repository)HEAD
- disabled (no branch to push)Something seems off. Should we disable the publish button in this instance?
tested in 1.0.4-beta0, mac
Reproduce:
publish repo
button