Git-SVN clear auth-cache

大憨熊 提交于 2019-12-09 05:20:39

问题


How do I get git-svn to forget the svn authentication details ?

We have a pairing machine running windows server 2008 on which we have a git repo and we check-in to a central subversion repository. I want git to prompt me for my subversion authentication details each time I check-in.

I have removed the subversion files from under %APPDATA%\subversion\auth\svn.simple. Now whenever I use a regular subversion client I get prompted for my subversion auth but git-svn remembers the credentials still.

Is there anyway I can make it forget the authentication details?


回答1:


Clear the svn authentication from %HOMEPATH%\.subversion\auth\svn.simple. This resets svn authentication and git prompts for a username the next time .

Note that earlier I deleted the authentication from under %appdata%\subversion\auth\svn.simple and that did not work.




回答2:


You probably have another instance of subversion installed somewhere else, because git-svn doesn't remember svn authentication by itself and delegates it to subversion.




回答3:


Recently I met this problem too. The reason is "%APPDATA%\subversion\servers", this file also save your proxy username and password.



来源:https://stackoverflow.com/questions/2191025/git-svn-clear-auth-cache

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!