Is it OK for me to delete `~/.gitconfig` in the box?


#1

Hi, I’m using circleci for CI-ing translation project of rustlang document https://github.com/rust-lang-ja/rust-by-example-ja

problem is that it uses cargo(the rustlang package manager) inside the box, and it fails because ~/.gitconfig forces to use ssh like this.

[url "ssh://git@github.com:"]
        insteadOf = https://github.com

but cargo doesn’t support reading under ~/.ssh, and so, I rm ed the ~/.gitconfig and it worked.

I think this is not a big issue in terms of security since my project is OSS. but I’m not sure this is recommended way.

would someone tell me is this a right way ? if not, how should I work around?


#2