3

I clone project with git. When I trying push/pull etc. using IntelliJ, I`ve got error "Authentication Failed". But when I use git commands in the console everything is okey and I can push, pull etc. I don't know what is the problem in IntelliJ. I tried delete and add again git in Settings, but it's not work.

xampo
  • 369
  • 1
  • 7
  • 22

2 Answers2

6

I had exactly the same issue.
Go to File -> Settings -> Version Control -> Git -> Check "Use credential helper". enter image description here

Maksym
  • 2,650
  • 3
  • 32
  • 50
0

File - Invalidate Caches / Restart - Invalidate and Restart) worked for me.

Amol Aranke
  • 51
  • 1
  • 5