Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 1 of 2

Meta API: Should I use api/git/importer IPs for git clone?

I have a host which is access restricted and I want to whitelist git IP ranges to allow "git clone". I checked out https://api.github.com/meta and read https://developer.github.com/v3/meta/

 

I want to allow:

git clone https://github.com/sahilsareen/LoveIsInTheAir.git

Which IP address obtained from https://api.github.com/meta should I whitelist?

1 Reply
Pilot Lvl 3
Message 2 of 2

Re: Meta API: Should I use api/git/importer IPs for git clone?

You will need to whitelist the web IP addresses (which are the same as the git IP addresses). The API addresses are for accessinf api.github.com, the importer addresses are the addresses any github imports will connect from, this is not relevant for cloning.