Git-Svn 是否存储 Svn 密码? [英] Does Git-Svn Store Svn Passwords?

查看:49
本文介绍了Git-Svn 是否存储 Svn 密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在几个工作项目中使用了 git-svn,我注意到几乎我采取的每一个操作都会提示我输入我的 Svn 密码.对于某些操作,我会多次收到提示(大概是 b/c 在幕后进行了几个操作).例如,在克隆存储库时,在克隆实际开始之前我会收到 5 次提示.

I'm using git-svn with a couple of work projects and I've noticed that for just about every action I take, I get prompted for my Svn password. For some actions, I get prompted multiple times (presumably b/c there are several actions going on behind the scenes). For example, when cloning a repository, I'm prompted 5 times before the cloning actually begins.

我直接使用 Svn 的项目不会这样做.这是预期的吗?我可以做些什么来缓存我的凭据?

Projects for which I'm using Svn directly don't do this. Is this expected? Is there anything I can do to cache my credentials?

谢谢.

推荐答案

我最终不得不一起删除 auth 目录并允许 Subversion 为我重建它.其他似乎都不起作用.对于不知道的人,auth 目录在 ~/.subversion (Mac/Linux) 中.

I ended up having to delete the auth directory all together and allow Subversion to rebuild it for me. Nothing else seemed to work. For anyone who doesn't know, the auth directory is in ~/.subversion (Mac/Linux).

这篇关于Git-Svn 是否存储 Svn 密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆