Difference between checkout and export in SVN

前端 未结 9 1669
执笔经年
执笔经年 2021-01-30 08:17

What is the exact difference between SVN checkout and SVN export?

From what I know, export does not include the .svn directory which include metadata, and checkout inclu

9条回答
  •  情深已故
    2021-01-30 08:30

    (To complement Gerald's answer...) One further subtle difference is that, although the command:

    svn checkout ...repos_location/my_dir .

    puts the files in my_dir into the current directory (with the .svn folder)

    in certain versions of the svn, the command:

    svn export ...repos_location/my_dir .

    will create a folder called my_dir in the current directory and then place the exported files inside it.

提交回复
热议问题