What's the -practical- difference between a Bare and non-Bare repository?

后端 未结 11 2257
南方客
南方客 2020-11-22 16:16

I\'ve been reading about the bare and non-bare / default repositores in Git. I haven\'t been able to understand quite well (theoretically) about the differences between them

11条回答
  •  情深已故
    2020-11-22 16:39

    Non bare repository allows you to (into your working tree) capture changes by creating new commits.

    Bare repositories are only changed by transporting changes from other repositories.

提交回复
热议问题