Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 颠覆相当于;吉特加上;?_Git_Svn_Version Control - Fatal编程技术网

Git 颠覆相当于;吉特加上;?

Git 颠覆相当于;吉特加上;?,git,svn,version-control,Git,Svn,Version Control,我正在从git切换到subversion,但我发现“svn add.”与git的功能不同 它打印 svn: warning: W150002: '/home/mike/Projects/repos' is already under version control svn: E200009: Could not add all targets because some targets are already versioned svn: E200009: Illegal target for t

我正在从git切换到subversion,但我发现“svn add.”与git的功能不同

它打印

svn: warning: W150002: '/home/mike/Projects/repos' is already under version control
svn: E200009: Could not add all targets because some targets are already versioned
svn: E200009: Illegal target for the requested operation
SVN是否有一个等价物?或者我必须手动添加它们?

使用提交:


这里是svn文档。

svn add和
git add
命令执行不同的操作。
git add
命令用于将对任何文件(包括新文件)的任何更改提交到git索引,以准备后续提交


svn add
命令仅用于在准备提交时向存储库添加新文件。更改后的文件将使用
svn commit
命令提交,无需先添加。

感谢您的回复。但是新的目录呢?似乎它们不会自动添加。