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: ```shell 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 ```
issue

Copyright © Eclipse Foundation AISBL. All rights reserved.     Privacy Policy | Terms of Use | Copyright Agent