I am attempting to push to a GitHub repository using Magit on Emacs 24.3.1. Note, I'm on a Windows box.
I have staged and committed changes to a file and M-x magit-status reflects only untracked files that are resident to my clone of the repo.
To push, from the Magit status buffer, I do P P
and the message I get is:
Running c:/Program Files (x86)/Git/bin/git.exe push -v origin master
It seems to hang here and no further activity is evident. When I go to push from the command line, everything seems fine and I am prompted for my GitHub username:
PS H:\.emacs.d> git push -v origin master
Pushing to https://github.com/Username/emacs.d
Username for 'https://github.com':
I have set user.name
using git config
, but apparently this is not preventing git from prompting me for my username at the command line.
Any ideas where I've gone wrong here and how I can get Magit to push?
ssh
instead ofhttps
. Also, is there anything in the*Messages*
buffer? – Dora*Messages*
buffer. Will tryssh
. – Ignaziossh://github.com/Username/emacs.d.git
, I gotPermission denied (publickey).
in the*magit-process*
buffer. Note, that I also receive the same message from cmd line. – Ignazio