Git without local repository

后端 未结 2 1245
北海茫月
北海茫月 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

提交回复
热议问题