Clone a git repo (in depth)

前端 未结 1 1093
野趣味
野趣味 2021-02-06 02:05

How to clone a repo (with libgit2)

I want to do exactly what git clone does but with libgit2. What I may be asking is what

相关标签:
1条回答
  • 2021-02-06 02:28

    Since the libgit2 doesn't explicitly mention git clone in its issue list, one lead to follow is in the sources of the original git project with:

    • builtin/clone.c
    • contrib/examples/git-clone.sh

    That last script will guide you through all the stages of a git clone.

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