In git, I was just wondering what the difference between a bare and a non-bare repository are. I know that a bare repository is typically just pushed to and changes aren't made within it. Other than that, what makes it different than a repository that is non-bare?
Bare repository has just the .git folder without a checked out source tree. Bare repository is usually used in the remote depository.
Non-bare repository has both .git folder and source tree.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With