s0 / git-publish-subdir-action

GitHub Action to push a subdirectory as a branch to any git repo (e.g. for GitHub Pages)
https://github.com/marketplace/actions/push-git-subdirectory-as-branch
MIT License
210 stars 36 forks source link

Fixed #9 Refusing to fetch into current branch #10

Closed KyrietS closed 4 years ago

KyrietS commented 4 years ago

Added -u,--update-head-ok flag to git fetch command to fix Refusing to fetch into current branch error when we try to fetch master branch being on master.

This fixes #9 issue.

s0 commented 4 years ago

Thanks a lot!