Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • G git-eca-rest-api
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse FoundationEclipse Foundation
  • IT
  • APIs
  • git-eca-rest-api
  • Issues
  • #57
Closed
Open
Issue created Apr 20, 2021 by Martin Lowe@malowe🇨🇦Maintainer

Cannot push initial branch for tracked repo

This issue was reported on the Gitlab instance when attempting to push a master branch to a new repo. https://gitlab.eclipse.org/eclipsefdn/gitlab/-/issues/36#note_6619. If the new repo is already tracked before a branch is created, this could present an issue. We should also try to check whether there is a HEAD/main to compare to, as there is some funky behavior when there isn't one:

remote: fatal: unknown commit refs/heads/main
remote: Commit: _nil            ~
remote:
remote:
remote: Warnings:
remote:         A commit is required to validate
remote: Any warnings or errors noted above may indicate compliance issues with committer ECA requirements. More information may be found on https://www.eclipse.org/legal/ECA.php
remote:
remote:
To gitlab.eclipse.org:eclipse/titan/test.git
Edited Jan 17, 2022 by Chris Guindon84
Assignee
Assign to
Time tracking

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent