Differenze tra le versioni di "Struttura Repository Git"
Da WikiSitech.
Vai alla navigazioneVai alla ricerca (Creata pagina con "In any case (unless you create a "bare" Repository), the new Repository is essentially a folder on the local hard disk which contains the "working directory" and the metadata ...") |
|||
Riga 1: | Riga 1: | ||
− | In any case (unless you create a "bare" Repository), the new Repository is essentially a folder on the local hard disk which contains the "working directory" and the metadata folder. The metadata folder is a dedicated child folder named '''.git''' and often referred to as ".git-folder". It contains the actual repository (i.e. the Commits, the References, the logs and such). | + | In any case (unless you create a "bare" Repository), the new Repository is essentially a folder on the local hard disk which contains the "working directory" and the metadata folder. |
+ | |||
+ | The metadata folder is a dedicated child folder named '''.git''' and often referred to as ".git-folder". It contains the actual repository (i.e. the Commits, the References, the logs and such). | ||
The metadata folder is totally transparent to the Git client, while the working directory is used to expose the currently checked out Repository content as files for tools and editors. | The metadata folder is totally transparent to the Git client, while the working directory is used to expose the currently checked out Repository content as files for tools and editors. |
Versione delle 13:13, 7 apr 2014
In any case (unless you create a "bare" Repository), the new Repository is essentially a folder on the local hard disk which contains the "working directory" and the metadata folder.
The metadata folder is a dedicated child folder named .git and often referred to as ".git-folder". It contains the actual repository (i.e. the Commits, the References, the logs and such).
The metadata folder is totally transparent to the Git client, while the working directory is used to expose the currently checked out Repository content as files for tools and editors.