You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the "branch" name in config file is "master", then when deploy the project, an error message as follows will display before pushing posts to github successfully:
fatal: Cannot force update the current branch.
The bug exists in file lib/plugins/deployer/github.js:
If the "branch" name in config file is "master", then when deploy the project, an error message as follows will display before pushing posts to github successfully:
The bug exists in file lib/plugins/deployer/github.js:
Hexo deploy will run the commands above one by one. If the "branch" variable in the fourth command is "master", then the git command really run is:
But the current branch is master already, so the message mentioned begin will be thrown and abort the deploy process.
The text was updated successfully, but these errors were encountered: