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

Windows support? error: pathspec 'gh-pages' did not match any file(s) known to git. #15

Closed
lolmaus opened this issue Nov 8, 2013 · 2 comments

Comments

@lolmaus
Copy link

lolmaus commented Nov 8, 2013

Middleman-gh-pages runs fine on Linux.

But when i try to rake publish on Windows, i receive:

git commit -m 'initial gh-pages commit'
error: pathspec 'gh-pages' did not match any file(s) known to git.
error: pathspec 'commit'' did not match any file(s) known to git.
rake aborted!

Full log: https://gist.github.com/lolmaus/7372898

@ekkans
Copy link

ekkans commented Dec 6, 2013

Hi @lolmaus

I had the same issue on Windows.

I fixed that by changing the line 27 of the file gh-page.rake for

sh "git commit -m 'init'"

For me, this file is in the directory C:\Ruby200\lib\ruby\gems\2.0.0\gems\middleman-gh-pages-0.0.2\lib\middleman-gh-pages\tasks

@rmm5t
Copy link
Member

rmm5t commented Feb 16, 2016

This should now be fixed thanks to #21

@rmm5t rmm5t closed this as completed Feb 16, 2016
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

3 participants