Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git(1.8.3.1) push to an empty repository failed #7779

Closed
lunny opened this issue Aug 7, 2019 · 3 comments
Closed

git(1.8.3.1) push to an empty repository failed #7779

lunny opened this issue Aug 7, 2019 · 3 comments

Comments

@lunny
Copy link
Member

lunny commented Aug 7, 2019

On a client machine with git version 1.8.3.1

  1. created a empty repository(No readme and others) on gitea(version 1.9.0)
  2. git push -u origin master, then it returned
error: src refspec master does not match any.
error: failed to push some refs to 'https://xxxx/myname/myrepo.git'

Gitea error log is:

2019/08/07 16:25:44 routers/repo/http.go:430:serviceRPC() [E] Fail to serve RPC(upload-pack): exit status 128 - {[102 97 116 97 108 58 32 116 104 101 32 114 101 109 111 116 101 32 101 110 100 32 104 117 110 1
03 32 117 112 32 117 110 101 120 112 101 99 116 101 100 108 121 10] 0 0}

But with git 2.x, there is no error here.

@stale
Copy link

stale bot commented Oct 6, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label Oct 6, 2019
@stale
Copy link

stale bot commented Oct 20, 2019

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale stale bot closed this as completed Oct 20, 2019
@zeripath
Copy link
Contributor

Likely fixed by #8476 in any case.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants