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

Branch rename failed when creating a new instance. #44

Open
artivis opened this issue Jun 7, 2022 · 2 comments
Open

Branch rename failed when creating a new instance. #44

artivis opened this issue Jun 7, 2022 · 2 comments

Comments

@artivis
Copy link
Contributor

artivis commented Jun 7, 2022

When launching a fresh new instance I get the following error,

ERROR in git_manager: New local repo initialization failed >>> Cmd('git') failed due to: exit code(128)
  cmdline: git branch -M main
  stderr: 'error: refname refs/heads/master not found
fatal: Branch rename failed'

After a quick look I think this line should really be a git checkout -b <branch_name>.

@Linbreux
Copy link
Owner

Linbreux commented Jun 9, 2022

This commit should fix the issue.

@artivis
Copy link
Contributor Author

artivis commented Jun 11, 2022

Hi,

just tried the latest docker image and it now produces a new error messge,

ERROR in git_manager: New local repo initialization failed >>> Cmd('git') failed due to: exit code(128)
  cmdline: git checkout
  stderr: 'fatal: You are on a branch yet to be born'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants