Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Git push doesn't work #85

Closed
felixangell opened this issue Jul 12, 2014 · 7 comments
Closed

Git push doesn't work #85

felixangell opened this issue Jul 12, 2014 · 7 comments

Comments

@felixangell
Copy link

See gif 馃摑
error

@akonwi
Copy link
Owner

akonwi commented Jul 12, 2014

I still haven't used atom on windows but it seems like this is a problem with ssh and the child process atom runs in. Did you try the suggestions from #82? #74 is also somewhat similar.

@felixangell
Copy link
Author

No luck there, but it's telling me something different now:

error: cannot spawn C:/users/Felix/.ssh/id_rsa: No such file or directory
fatal: unable to fork

However the file is there, and isn't empty

@felixangell
Copy link
Author

Ah, turns out I had some random environmental setting set, works now 馃憤

@sunbloat
Copy link

Hello there. can you please just tell me/us which setting that exactly was or what you exactly did?! Perhaps that could help me aswell... :-)

Thanx in advance

@felixangell
Copy link
Author

Yikes, not sure why I didn't write down my exact steps I took to fix this. Apologies, but I have no idea what I did :s

@dshuvar
Copy link

dshuvar commented Jul 25, 2017

Hi @felixangell @sunbloat @akonwi

Its very strange on windows git+ don't works correct if you try push\pull over ssh
(git for windows works for me I checked it).
But if you do step 1. change .git/config in your repo from ssh to https git+
for example:
from

[remote "origin"]
	url = git@gitlab.com:myawesomeorg/www.git

to

[remote "origin"]
	url = https://gitlab.com/myawesomeorg/www.git

And do step 2. install git credentials store
And may be do step 3. before that I added record about git in windows environment, its can be important.
After this steps - pull\push from git-plus works for me.

@qimuxi1990
Copy link

Thank you @dshuvar . Your solution works for me.
It is an HTTPs auth. Instead of using ssh keys + passphase, it uses username and password.
Hope some day we can figure out an ssh solution.

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

No branches or pull requests

5 participants