-
Notifications
You must be signed in to change notification settings - Fork 163
Git Push does not work #224
Comments
Same problem here with windows 7 and latest Atom version |
Agreed, same thing. |
Same problem Win 7 Atom - Latest Version 1.0.2 |
Just tried with my Mac on Yosemite (Osx 10.10.2) and Atom 1.0.2 and it works perfectly |
The problem is on Windows, not Mac... |
Same here on win7 64 |
Maybe this will help others with the same issue on Windows authenticating using an SSH key. On Windows I've always used Pagent (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) to handle my SSH Keys. For some reason (I don't know why), these keys appear to be ignored when using git on Windows, hence the push fails. To get round this, generate a new SSH key in using OpenSSH (these instructions look good: http://guides.beanstalkapp.com/version-control/git-on-windows.html#installing-ssh-keys) and copy the public key to GitHub in the usual way. Finally, test "git clone" / "git push" works using the command line (as you'll see descriptive errors if there is a problem) and if that works, then try using git-plus in Atom. Worked for me. |
My experience is that this is related to ssh keys, yes. |
I'm having the same issue on Ubuntu. Git push works fine in the terminal, but not on Atom. |
I'm not sure if my issue is related to everyone else's here but mine was giving me an error regarding askpass. I installed it with the command below and it's now working. sudo apt-get install ssh-askpass |
Here has been my workaround for this issue, i could get git plus to find the right path the ssh keys were in but started getting, other error messages, I decided to try joncombe's approach and use pagent. Here's a very verbose how-to following each step I did to get atom to push and pull with git plus. These steps will convert your existing keys to a .ppk key without needing to change your keys on github or bitbucket.
the last step needed because plink is just a backend to putty's functions so connecting without doing this step doesn't accept the key and add to known hosts Doing all this allowed me to push/pull with atom on windows. sorry if i was too wordy. |
I had the same issue on Windows 8.1 - everything worked except push. For me the issue was related to credentials (I had to insert the credentials from the cmd for each push), might help someone else too:
http://stackoverflow.com/questions/4492979/git-is-not-recognized-as-an-internal-or-external-command
https://github.com/Microsoft/Git-Credential-Manager-for-Windows
|
I had the same problem, fixed environment variables, using Pageant and GIT_SSH for After you make any environmental changes, use Task Manager to ensure all instances of the application under test ( |
@ehasanbegovic Thank you Sir. Your comment helped me. Its working now. Just had to add the path variable |
Adding the Credential Manager did the trick. Thanks. (Atom on Win7 64) |
Had to do all things combined |
There is another issue related to pushing on windows machines at #413. The solution posted there is: In order to have the PUSH working, you need to add the GitHub.exe (not git.exe) path to Environment Variable PATH and restart Atom. This is how I found GitHub.exe path (in Windows)
In my case GitHub.exe was in the folder C:\Users\cassani\AppData\Local\Apps\2.0\H35QN991.JQW\RZJQ033T.E6B\gith..tion_317444273a93ac29_0003.0000_eb093b9833279bd4\ |
@kishorramanan I'm already running Git But anyways, I'm still not really sure what else I can do to get git-plus to be able to push. When that green box comes up saying "push successful" or whatever it says, git-plus seems to think it actually pushed files, as the once-orange (aka files with diff's) files get their colors changed back to normal. But then I open the git+ log and it shows the same ssh_askpass error in the image I posted before. |
👍 |
Atom latest version, same here |
@ror6ax Yeah +100. If this failed loudly it would be much easier to figure out a fix. Primary issue here is definitely the silent failure. |
Same here with Windows 10 |
"ssh_askpass" issue under Linux related to package ssh_askpass which should be installed, because git-plus ask password using this command.
|
I'm on Windows 10 running Atom Latest. The Push command does not work - I have to manually open the command line and run
git push
in the correct folder to have it run properly. There's also another git-based Atom plugin that's having the same issue of not being able to push on Windows, because of shelljs (jacogr/atom-git-control#61). Is there a way to fix this?The text was updated successfully, but these errors were encountered: