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

Unable to push a new branch to an empty repository 🪵 #595

Closed
JamieSlome opened this issue Jun 7, 2024 · 1 comment · Fixed by #752
Closed

Unable to push a new branch to an empty repository 🪵 #595

JamieSlome opened this issue Jun 7, 2024 · 1 comment · Fixed by #752
Assignees
Labels
bug Something isn't working good first issue Good for newcomers hacktoberfest

Comments

@JamieSlome
Copy link
Member

Describe the bug

When attempting to push to an empty repository on GitHub, the push of a new branch with an initial commit fails.

To Reproduce

  1. Create a fresh repository with nothing in it - no branches
  2. Add the repository to GitProxy
  3. Clone the repository through GitProxy
  4. Make a novel change, commit and push the branch

Expected behavior

The branch and commit created on the local git client should be pushable via GitProxy to the upstream.

@JamieSlome JamieSlome added bug Something isn't working good first issue Good for newcomers labels Jun 7, 2024
@divinetettey
Copy link
Contributor

Hi @JamieSlome love to pick this one up too

@JamieSlome JamieSlome self-assigned this Oct 21, 2024
JamieSlome added a commit that referenced this issue Oct 21, 2024
…-an-empty-repository

fix: set parent to zero commit SHA if no parent exists on push (#595)
Psingle20 pushed a commit to Psingle20/git-proxy that referenced this issue Nov 27, 2024
Psingle20 pushed a commit to Psingle20/git-proxy that referenced this issue Nov 27, 2024
…ch-to-an-empty-repository

fix: set parent to zero commit SHA if no parent exists on push (finos#595)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants