Re: Definition of "the Git repository"
- From
- Igor Djordjevic <igor.d.djordjevic@gmail.com>
- Date
- Jun 25, 2021, 09:14 UTC
- Message-ID
- <d4429a6e-9681-6a79-1e91-19c129fa02b4@gmail.com>
- In-Reply-To
- <7dd55e85-38eb-7346-ff10-7124102cd22b@pawsey.org.au>
On 25/06/2021 03:44, Kevin Buckley wrote:
Show 8 quoted lines
> > In the way I think of it > > git init > > initialises a Git repository, however, the only thing that changes > as a result is that a .git directory has been created, ergo, the > .git directory is the repository.
Another way to look at it could be that you possibly have a repository already, and `git init` only makes it a Git repository... ;)
Joking aside, for a looong train of thoughts, see that other reply[1].
Regards, Buga
[1]: https://lore.kernel.org/git/9099ab09-f6d0-f1e2-1b8e-a55d22a903c5@gmail.com/