Skip to content

Instantly share code, notes, and snippets.

@samny
Created April 1, 2015 17:54
Show Gist options
  • Save samny/2a189cc4012a0c14c6d8 to your computer and use it in GitHub Desktop.
Save samny/2a189cc4012a0c14c6d8 to your computer and use it in GitHub Desktop.
GIT_CURL_VERBOSE=2 git ls-remote --heads https://github.domain.com/user-name/repo-name.git
* Couldn't find host github.domain.com in the .netrc file; using defaults
* Hostname was NOT found in DNS cache
* Trying XXX.XX.XX.XX...
* Connected to github.domain.com (XXX.XX.XX.XX) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
* Server certificate: *.domain.com
* Server certificate: DigiCert SHA2 Secure Server CA
* Server certificate: DigiCert Global Root CA
> GET /user-name/repo-name.git/info/refs?service=git-upload-pack HTTP/1.1
User-Agent: git/1.9.5 (Apple Git-50.3)
Host: github.domain.com
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache
< HTTP/1.1 200 OK
* Server GitHub.com is not blacklisted
< Server: GitHub.com
< Date: Wed, 01 Apr 2015 17:37:32 GMT
< Content-Type: application/x-git-upload-pack-advertisement
< Transfer-Encoding: chunked
< Connection: keep-alive
< Expires: Fri, 01 Jan 1980 00:00:00 GMT
< Pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
<
* Connection #0 to host github.domain.com left intact
35f6a7c2019e7ccc56671666d889a912fa0aaefa refs/heads/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment