Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git-svn password change

I'm using TortoiseGit on Windows XP.

My team all use a central svn server as our central "canonical" code repository. It's all run on a windows network.

I work locally with git, then use git-svn dcommit to commit regularly to the svn server.

Our network enforces a regular password change - which changes my password for the svn server as well. Now I can't dcommit any more, as Tortoise is attempting to use my old password - I've googled, and I've hunted thru menus and docs - but I can't figure out where to change the password that Git uses to connect to SVN. Anyone help?

like image 683
Hippyjim Avatar asked Nov 05 '09 13:11

Hippyjim


People also ask

Can I use Git for SVN repository?

Use git-svn, it is really simple. First clone your repository with git svn clone then you can git svn dcommit your work or git svn rebase it on the latest changes. Make sure your history is always linear by always rebasing your local branches on master so that you can merge them with git merge --ff-only .

What is git svn command?

What is Git-SVN? The git-svn tool is an interface between a local Git repository and a remote SVN repository. Git-svn lets developers write code and create commits locally with Git, then push them up to a central SVN repository with svn commit-style behavior.


2 Answers

git-svn uses Subversion’s perl modules which in turn uses “normal” Subversion authentication. That means that your authentication data is stored somewhere in $HOME/.subversion, e.g. in one of the files in $HOME/.subversion/svn.simple/ when you are using a simple username-password combination to authenticate.

like image 68
Bombe Avatar answered Sep 17 '22 12:09

Bombe


On a Windows box it will be something like

C:\Users\uttamk\.subversion\auth\svn.simple

Just delete all the files in the folder. The password will be reset

like image 24
uttamkini Avatar answered Sep 17 '22 12:09

uttamkini