Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It hangs on 'pushing' #26

Open
kennethlynne opened this issue Dec 31, 2013 · 5 comments
Open

It hangs on 'pushing' #26

kennethlynne opened this issue Dec 31, 2013 · 5 comments

Comments

@kennethlynne
Copy link

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
Copy link
Author

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.

@tschaub
Copy link
Owner

tschaub commented Jan 2, 2014

What version of git are you running?

@kennethlynne
Copy link
Author

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.

@khornberg
Copy link

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.

@jrencz
Copy link

jrencz commented May 20, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants