git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* contents of a .git file
@ 2020-05-17 21:58 bruce
  2020-05-18  1:01 ` brian m. carlson
  0 siblings, 1 reply; 2+ messages in thread
From: bruce @ 2020-05-17 21:58 UTC (permalink / raw)
  To: git

Hi.

Hope this is a place to ask this.

There are lots of foo.git files.

I'm trying to figure out what's un a git file. As an example,
http://git.drupal.org/project/drupal.git gets the drupal repos.
However, I can't seem to find the drupal.git file. Even a net search
doesnt seem to turn up a file that I can view!!

Any pointers/thoughts would be helpful.

thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: contents of a .git file
  2020-05-17 21:58 contents of a .git file bruce
@ 2020-05-18  1:01 ` brian m. carlson
  0 siblings, 0 replies; 2+ messages in thread
From: brian m. carlson @ 2020-05-18  1:01 UTC (permalink / raw)
  To: bruce; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]

On 2020-05-17 at 21:58:41, bruce wrote:
> Hi.
> 
> Hope this is a place to ask this.
> 
> There are lots of foo.git files.
> 
> I'm trying to figure out what's un a git file. As an example,
>  gets the drupal repos.
> However, I can't seem to find the drupal.git file. Even a net search
> doesnt seem to turn up a file that I can view!!
> 
> Any pointers/thoughts would be helpful.

The ending ".git" is just a conventional approach to indicate that a URL
or directory is a bare repository.  When using HTTP, the actual files
are served from other locations, depending on whether the site is using
the smart or dumb HTTP protocol.  Most major hosting platforms prefer
the smart protocol because it can send a lot less data.

So there really isn't a single file; instead, there's either some static
files and some manifests (for the dumb protocol) or conversations with a
CGI client (for the smart protocol).  You can read more about it in
Documentation/technical/http-protocol.txt, and if you're interested, you
can run your operations with GIT_CURL_VERBOSE=1 to see the endpoints
that are contacted.  (Be aware that that output may contain
credentials.)
-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-18  1:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-17 21:58 contents of a .git file bruce
2020-05-18  1:01 ` brian m. carlson

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).