yadm-dev / yadm

Yet Another Dotfiles Manager
https://yadm.io/
GNU General Public License v3.0
5.15k stars 176 forks source link

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

Closed LevinCeglie closed 2 years ago

LevinCeglie commented 3 years ago

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

erijo commented 3 years ago

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

github-actions[bot] commented 2 years ago

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[bot] commented 2 years ago

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