Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN change username

I found a lot of examples on how to change the username for specific revisions and so on.

But what I need is this: I did a checkout with the authentication credentials of a workmate and need to change it to my credentials for future commits.

I cannot just checkout with my credentials due to the many changes that have been done already...

Anyone familiar with this?

like image 477
axel freudiger Avatar asked Oct 06 '11 08:10

axel freudiger


People also ask

How do I change my Tortoise SVN username and password?

Follow these steps: Right-click your desktop and select TortoiseSVN->Settings. Select Saved Data. Click Clear against Authentication Data.


1 Answers

You can change the user with

  • Subversion 1.6 and earlier:

    svn switch --relocate protocol://currentUser@server/path protocol://newUser@server/path 
  • Subversion 1.7 and later:

    svn relocate protocol://currentUser@server/path protocol://newUser@server/path 

To find out what protocol://currentUser@server/path is, run

svn info 

in your working copy.

like image 149
Ingo Kegel Avatar answered Sep 28 '22 21:09

Ingo Kegel