grunt-gh-pages icon indicating copy to clipboard operation
grunt-gh-pages copied to clipboard

It hangs on 'pushing'

Open kennethlynne opened this issue 11 years ago • 5 comments

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

kennethlynne avatar Dec 31 '13 12:12 kennethlynne

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.

kennethlynne avatar Dec 31 '13 13:12 kennethlynne

What version of git are you running?

tschaub avatar Jan 02 '14 18:01 tschaub

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.

kennethlynne avatar Jan 02 '14 19:01 kennethlynne

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.

khornberg avatar Apr 03 '14 18:04 khornberg

same here. I killed it on "pushing", rerun and it did well.

jrencz avatar May 20 '14 15:05 jrencz