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
Problem with deployment on GitHub #1495
Comments
Which shell do you use? |
@Xuanwo, when installed Git I chose this option: |
I think I met the same problem. I reinstall the system(win 7, 64 bit) and update hexo dependencies. It's fine to generate. When I deploy:
Is there any problem with the github username? I am not sure how to correct it . I think I did it right:
And the error say it is on master branch ? In hexo config I set gh-pages branch. I think here is the only place about github in hexo config :
My
dependencies:
git:
|
@201507 If you still have problem with HTTPS, try this command:
For more details : http://laker.me/blog/2015/09/18/Git-push常见报错/ .Hope it helps |
@younglaker, thanks for your reply. I will check your information and I will answer later. |
I have the same problem, and change https to ssh ,it didn't work for me. Did you solve it?@201507 |
@doesnta, yes, I solved my problem by starting to use SSH instead HTTPS. The following information has helped to solve a problem: @younglaker, many thanks for your hint 😉 |
you say “If I point in the configuration file to use SSH instead of HTTPS, I get this error:” ,how can it work for you finally?I have the problem just like you ,even the wrong message,can you tell how can you fix it? @201507 my sshkey working fine. |
@doesnta He even haven't add ssh key.
|
$ ssh -T git@github.com
Enter passphrase for key '/c/Users/dell/.ssh/id_rsa':
Hi doesnta! You've successfully authenticated, but GitHub does not provide shell access. but when i deploy the hexo ,it come out the wrong message: FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists. Do i miss something ? |
@younglaker deploy:
type: git
repo: git@github.com:/doesnta/doesnta.github.io.git
branch: master i also add the remote url in the git/config,useless~~~ [remote "origin"]
url = git@github.com:doesnta/doesnta@github.io.git
fetch = +refs/heads/*:refs/remotes/github/* |
@doesnta, here are the steps I performed:
If you have difficulty, use the information in these pages: I hope you can understand my text. I have explained better, but my level of English is poor. |
@201507 thanks。 I solve this problem last night.It seem to be the git bug.so i change the git to lower edition. |
I meet same problems and try to input this command "ssh -T git@github.com" it works. thanks~ |
201507 the answer that really works! Thank you |
@rgodoyl you're welcome! 😉 |
I met the same problem with @doesnta. my git version
when i run ssh -T git@github.com
|
use the 1.9 version of git @tsunamidesign |
@doesnta thx a lot. |
@doesnta thx use the 1.9 version of git |
@doesnta thx a lot. use SSH instead HTTPS |
Actually, I met this issue before, and I did try many ways, the best way I know is to use Power Shell instead of Git Bash. |
@doesnta Thanks. Mark, I have same problem, use this issue list solved. |
So, the latest verison og git can't work fine in on win? |
@Xuanwo Still have issue today!!! |
I met this issue too.I think this issue is about username of git.So i change git user.name and fixed that. |
@201507 thanks> |
meet the issus on git version 2.9.0.windows.1 |
also meet host key verification failed. Then I push the '.deploy_git' folder , and it success! But 'hexo deploy' still don't work. |
@201507 |
In case it still happens to people, the way I work over it is opening Git Bash, cd to your site directory and run |
I solve the problem by deleting GitHub password in |
Hello!
Please, help someone solve the following problem. Before install Windows 10 I have everything worked fine under Windows 8.1, but now, in Windows 10, I observe the following problem:
hexo clean
— everything is fine;hexo generate
— everything is fine;hexo deploy
— I getting in response an error:If I point in the configuration file to use SSH instead of HTTPS, I get this error:
The contents of my
package.json
file:hexo v
command output:How to beat this issue? What other information I can provide to solve this problem?
My repo with all config files can be found here: https://github.com/201507/201507.github.io-hexo
The text was updated successfully, but these errors were encountered: