grunt-gh-pages
grunt-gh-pages copied to clipboard
It hangs on 'pushing'
After runnning the task with the example configuration it just hangs on pushing.
'gh-pages': {
options: {
base: 'dist'
},
src: ['**']
}
Log:
Cleaning
Fetching origin
Checking out origin/gh-pages
Removing files
Copying files
Adding all
Committing
Tagging
Pushing
Manually trying to push gives an error message. After manually setting upstream it is possible to push
.grunt\grunt-gh-pages\gh-pages\src [gh-pages]> * git push
fatal: The current branch gh-pages has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin gh-pages
.grunt\grunt-gh-pages\gh-pages\src [gh-pages]> git push --set-upstream origin gh-pages
Counting objects: 23, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (23/23), 122.61 KiB | 0 bytes/s, done.
Total 23 (delta 0), reused 3 (delta 0)
To https://github.com/kennethlynne/kenneth.ly.git
* [new branch] gh-pages -> gh-pages
Branch gh-pages set up to track remote branch gh-pages from origin.
What version of git
are you running?
git version 1.8.5.2.msysgit.0
Deleting the repository completely would fix it too. I guess there was some error trying to push to it that got silenced. I have not had this issue in other repositories as long as the gh-pages branch was deleted beforehand.
This happens to me as well. I'm on ubuntu and use git 1.8.3.2. My remote is via https. It happened on a fresh gh-pages branch and continues. I deleted the branch and the task still hangs. The files are pushed but the task doesn't end.
same here. I killed it on "pushing", rerun and it did well.