0

TortoiseGit keeps asking for my password when I interact with a remote.

I've just (re-)installed Git v2.7.4 and TortoiseGit v2.0 but when I go to credential manager and set these settings as most of the advice I've read suggests:

enter image description here

I get this:

enter image description here

What am I doing wrong / how can I get this up and running?

Edit - I checked and .gitconfig is writeable and looks like this:

[user]
    email = jonc@mydomain.com
    name = Jon Cage
[core]
    autocrlf = true
    excludesfile = C:\\Users\\jonc\\Documents\\gitignore_global.txt
[credential]
[credential]
[credential]
[credential]
[credential]
[credential]
    helper = wincred
MrTux
  • 32,350
  • 30
  • 109
  • 146
Jon Cage
  • 36,366
  • 38
  • 137
  • 215
  • 1
    There was a bug in TortoiseGit 2.0 which broke the selection of the credential helper. – MrTux Mar 18 '16 at 23:18
  • @MrTux: Do you have a link? I can't find it in their issue tracker.. https://gitlab.com/tortoisegit/tortoisegit/issues – Jon Cage Mar 21 '16 at 11:59
  • There is no issue tracker entry, its only fixed in code: https://gitlab.com/tortoisegit/tortoisegit/commit/c6f0a57d9bcee7fc0e727462ba7ead8f82cec4c2 – MrTux Mar 21 '16 at 15:07

2 Answers2

2

There was a bug in TortoiseGit 2.0.

TortoiseGit 2.1 was just released where this issue is fixed.

== Bug Fixes ==
* Fix the the credential helper settings dialog

magicandre1981
  • 27,895
  • 5
  • 86
  • 127
MrTux
  • 32,350
  • 30
  • 109
  • 146
0

Probably this will help. There are multiple approaches (winstore, _netrc file, using Advanced on Git > Credential) - use whatever is working for you, since in Git philosophy there is more than one way to do it.

Community
  • 1
  • 1
Cristian Amarie
  • 160
  • 1
  • 8