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 p开发者_StackOverflow中文版assword 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?
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.
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
On Windows 7 and onwards, the place to look is
%APPDATA%\Subversion\auth
which usually resolves to
C:\Users\<user name>\AppData\Roaming\Subversion\auth
精彩评论