重置git设置 [英] Reset git settings
本文介绍了重置git设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试下载此 git repo时,我不断收到错误:RPC失败;result = 56,HTTP代码= 200
,我认为这是因为我弄乱了一些设置(我在玩-config
和-bare
今天)
When I try downloading this git repo I keep getting error: RPC failed; result=56, HTTP code = 200
and I think this is because I messed up some settings (i was playing about with --config
and --bare
today)
有没有办法将git配置重置为出厂设置?
Is there a way how I can reset my git configuration to the factory settings?
如果有帮助,我在Mac上.
If it helps I am on a Mac.
推荐答案
Git设置存储在〜/.gitconfig
中.只需删除该文件即可.
Git settings are stored in ~/.gitconfig
. Just delete that file.
这篇关于重置git设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文