Exact `svn export` equivalent command for git?

前端 未结 8 850
花落未央
花落未央 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条回答
  •  余生分开走
    2021-02-06 05:10

    Just get rid of the repository within the working copy.

    git clone remote
    rm -Rf .git
    

    (On Windows, it's rd /s /q. Thanks for the hint by @Bruno.)

提交回复
热议问题