Exact `svn export` equivalent command for git?

前端 未结 8 851
花落未央
花落未央 2021-02-06 04:53

There is no exact svn export equivalent command for git? Really?

Beware: this is not a duplicate question. That is, I already know and have

8条回答
  •  梦毁少年i
    2021-02-06 05:21

    From How do I do a quick clone without history revisions?:

    git clone --depth 1 your_repo_url
    

    Then, from the rmdir documentation:

    rd /s /q .git
    

提交回复
热议问题