git push with -v flag causing errors

I am using a PHPStorm.

locally from the command line, I can successfully use "git push orgin master" and update github.

however PHPStorm uses the command with a -v flag which is causing an error.

so i tried to go to the command line and replicate the command, and sure enough it doesn't work when I use -v

when I used "git push -v orgin master" I get fatal:
  'orgin' does not appear to be a git repository
  fatal: The remote end hung up unexpectedly

Does anyone know why this fails ONLY when using the -v flag?

2 comments
Comment actions Permalink

okay. it looks like it now works perfectly at the command line.  and i can literally copy the commands from the console and pasted them into the terminal, and they work fine. but not from inside phpstorm.

From the CONSOLE of phpStorm

13:14:20.242: cd /Applications/XAMPP/htdocs/xampp/clients/raychle.com
13:14:20.242: git push -v origin master
Pushing to git@github.com:shanemesser/Raychle.Com.git
java.io.IOException: Authentication failed:
 at org.jetbrains.git4idea.ssh.SSHMain.authenticate(SSHMain.java:279)
 at org.jetbrains.git4idea.ssh.SSHMain.start(SSHMain.java:155)
 at org.jetbrains.git4idea.ssh.SSHMain.main(SSHMain.java:135)
fatal: The remote end hung up unexpectedly



From the COMMAND LINE:

shanemesser$ cd /Applications/XAMPP/htdocs/xampp/clients/raychle.com
shanemesser$ git push -v origin master
Pushing to git@github.com:shanemesser/Raychle.Com.git
Everything up-to-date
Shane:raychle.com shanemesser$
0
Comment actions Permalink

Hi Shane,

sorry for the delay.

Do you still experience the problem?

Does the authentication failure happen only on push or on all remote operations such as Update Project, Clone, Fetch, Pull, etc?
Do you have something special in your .ssh/config?
And please specify version of Git, your OS and PhpStorm version.

Thanks.

0

Please sign in to leave a comment.