dolthub / dolthub/dolt

`push` should validate branch name like `checkout` or `branch`

Open
#5,341 5 comments 0 reactions 1 assignee Claimed by @zachmu View on GitHub
bug version control
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 5h
Merged PRs (30d)
108

Description

currently I made a mistask when I push a local branch. I create a remote that url is without the dbname,like "dolt remote add test http://xx.xx.xx.xx:50051/organization_name". After i commit change, i entered a wrong remote branch name to push it. the cmd is like "dolt push testdb feature-test:/testdb/feature-test". the cmd run without any output. But when i open the website, it showed
![image](https://user-images.githubusercontent.com/23020914/217713008-01da400a-6338-4ec0-9edd-a3775d5d0ffa.png)
I can't do anything to this db. How could i fix the db? And why an invalid branch name could be set?If have any information, please let me know. Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.