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 yadm clone <repo> due to the change to main #385

Closed
LevinCeglie opened this issue Nov 9, 2021 · 3 comments
Closed

Unable to yadm clone <repo> due to the change to main #385

LevinCeglie opened this issue Nov 9, 2021 · 3 comments

Comments

@LevinCeglie
Copy link

LevinCeglie commented Nov 9, 2021

Describe the bug

I have an existing Github repo with my dotfiles, which is using main as the default branch name. When cloning it with yadm it gives me the following error

From github.com:LevinCeglie/dotfiles
 * [new branch]      main       -> origin/main
ERROR: Clone failed, 'origin/master' does not exist in git@github.com:LevinCeglie/dotfiles.git$

I think it is because yadm is searching for a master branch but isn't finding one.

To reproduce

Try cloning an existing Github repo with the default branch named main.

Environment

  • Operating system: [WSL2 Ubuntu 20.04, yadm/testbed, etc.]
  • Version yadm: yadm 2.3.0
  • Version Git: git version 2.25.1
@LevinCeglie LevinCeglie added the bug label Nov 9, 2021
@erijo
Copy link
Contributor

erijo commented Nov 9, 2021

Please try the latest yadm version, which hopefully works better (see #289).

@github-actions
Copy link

github-actions bot commented Jan 9, 2022

This issue has been labeled as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Jan 9, 2022
@github-actions
Copy link

This issue was closed because it has been labeled as stale for 7 days with no activity.

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

No branches or pull requests

2 participants