When you first access your SVN repository you are given the option to save your authentication information.   Nice feature, right?   Well, what if you need to access the repository via different credentials?  image

Here’s the trick:

  1. Right-click on the root folder
  2. Select TortoiseSVN
  3. Select Settings
  4. Navigated to Saved Data
  5. Clear the stored Authentication Data

The next time you need to access the repository, you will be prompted for your new credentials.

36 Comments to “TortoiseSVN – Change User After Save Authentication”

  1. Mark Burnham says:

    Thanks for the tip.

  2. Ultra says:

    Thanks

  3. Brad Divine says:

    Unfortunately, this wipes out all saved credentials for all repositories. If you only want to clear one of them, you’ll need to go digging a little deeper.

    For example, on my system (XP), the credentials are located here:

    C:\Documents and Settings\Brad\Application Data\Subversion\auth\svn.simple\

    The files in that folder are viewable in your favorite text editor. You won’t be able to edit them, but it will tell you the repo location and username which should be enough to positively identify the one you want. Once you’ve found it, just delete that file.

  4. Ben Griswold says:

    @Brad Divine – Very helpful tip. Thanks for the contribution.

  5. marius says:

    Thank you, I was looking for this for a long time.

  6. Kawika says:

    Thanks man, I needed this!

  7. Puru says:

    @Brad Divine Thanks, it works

  8. LuckyLuciani says:

    Thank!

  9. Matt says:

    Thank you! Needed this big time

  10. jeff says:

    how do i find the username and password for the authentication/??
    plzzz help!

    ive been trying to get this to work for hours but i cant
    i dont even know what the user or pass is

  11. Thanks John :)

    I’ve linked your post at http://www.ramonfincken.com/pe.....ic220.html

    I needed this when commiting a plugin for a client under his name at WordPress.org

  12. Larson says:

    Thanks Johnny ! ;)

  13. Paulo says:

    Cool trick!

    Thanks a lot.

  14. Arul says:

    thanks

  15. Stuart says:

    Cheers dude

  16. Linh says:

    nice, thank you very much. :D

  17. abdul says:

    Thanks

  18. ohmdob says:

    thanks you kub

  19. Madhu says:

    Thanks , useful tip

  20. João Vieira says:

    Thanks

  21. Ale says:

    Thanks!

  22. Thanks a lot for this post. I wasted my 30 mins before landing to this page.

  23. Nh.Duc says:

    Thanks

  24. [...] some research on Google I found this blog post by JohnnyCoder where he describes the same problem solved it using the above mentioned method of removing all the [...]

  25. Tom says:

    This didn’t work on TortoiseSVN 1.6.16 Build 21511 – 64 bit

    While it does gray the box after clearing the saved data, TortoiseSVN did not prompt for username and password when I tried to create a new repository.

    It just said “target machine actively refused connection”.

    Any ideas?

  26. kuwahara says:

    Thanks! This article helps a lot.

  27. Devin says:

    Very helpful for a quick tip!

  28. Carlton says:

    Thanks for the quick tip

  29. Mathias says:

    Thanks – just what I was looking for. I already thought about adding another SVN client – but that would have been an overkill.

  30. Hello there, I discovered your web site by the use of Google while searching for a related matter, your site came up, it looks good. I have bookmarked it in my google bookmarks.

  31. I just could not depart your site prior to suggesting that I actually enjoyed the usual info a person provide on your visitors? Is gonna be back regularly to check out new posts

  32. Hey! This is kind of off topic but I need some guidance from an established blog. Is it very hard to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about making my own but I’m not sure where to start. Do you have any points or suggestions? Appreciate it

  33. A person essentially help to make seriously articles I would state. This is the very first time I frequented your web page and thus far? I surprised with the research you made to make this particular publish extraordinary. Wonderful job!

  34. thanks… you are the lifesaver..!

Leave a Reply

You can wrap your code with [ruby][/ruby] or [python][/python] blocks for syntax highlighting and you can use these traditional tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>