git-sync icon indicating copy to clipboard operation
git-sync copied to clipboard

fatal: 'HEAD' is not a valid branch name.

Open bensuperpc opened this issue 4 years ago • 1 comments

I have issues, when i sync my repos, git-sync create HEAD branch, when i pull all repos with action/checkout, i have this issue :

  /usr/bin/git checkout --progress --force -B HEAD refs/remotes/origin/HEAD
  Error: fatal: 'HEAD' is not a valid branch name.
  Error: The process '/usr/bin/git' failed with exit code 128

Config file: https://github.com/Bensuperpc/repo-sync/blob/main/.github/workflows/repo-sync.yml

I would like to sync the whole repository but without creating a HEAD branch

bensuperpc avatar Jun 05 '21 05:06 bensuperpc

Pull request : #37

bensuperpc avatar Jun 05 '21 06:06 bensuperpc