Git without local repository

后端 未结 2 1226
北海茫月
北海茫月 2021-01-12 19:44

Consider the case where (for example) a 20GB directory is stored on a computer with 20.1GB disk space free, and we want to put this directory under revision control. A serv

相关标签:
2条回答
  • 2021-01-12 20:21

    Depending on what you want to do, these answers might give you a clue Browse and display files in a git repo without cloning. In general, there are serveral solutions

    • Working with the remote copy if you have ssh access.
    • Using an access API such as the one provided by GitHub.
    • Using "shallow clone": git clone --depth=1
    0 讨论(0)
  • 2021-01-12 20:22

    GIT is a Distributed CVS. The very heart of such DCVS is that they store their history locally.

    You can't change that.

    0 讨论(0)
提交回复
热议问题