Reputation: 25
I was trying to use BFG Repo-Cleaner to remove a large file from git history, but can't get it work. Please help!
Then I tried to clone a fresh copy of my repo:
$ git clone --mirror git://example.com/some-big-repo.git
Here comes the problem, it says:
fatal: unable to connect to example.com:
example.com[0: 2606:2800:220:1:248:1893:25c8:1946]: errno=Operation timed out
example.com[1: 93.184.216.34]: errno=Operation timed out
Can anyone help?
Upvotes: 1
Views: 413
Reputation: 25304
You are attempting to download a copy of your repo from example.com
(resolves to 93.184.216.34
).
Think about where the main copy of your repo is. It's not on example.com, is it?
You need to use the actual address of your repo, not the example url given in the BFG docs.
It's possible you're not using a Git hosting service, in which case you would just use the local file path to the repo instead of a remote address.
Upvotes: 1