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?

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/
13:14:20.242: git push -v origin master
Pushing to Authentication failed:
 at org.jetbrains.git4idea.ssh.SSHMain.authenticate(
 at org.jetbrains.git4idea.ssh.SSHMain.start(
 at org.jetbrains.git4idea.ssh.SSHMain.main(
fatal: The remote end hung up unexpectedly


shanemesser$ cd /Applications/XAMPP/htdocs/xampp/clients/
shanemesser$ git push -v origin master
Pushing to
Everything up-to-date shanemesser$
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.



Please sign in to leave a comment.