Rumah > Soal Jawab > teks badan
在gitlab上创建了一个project, 然后在linux 里 git svn clone project_svn_url, 最后成功push到gitlab上。
但是,在gitlab上把这个project 删除了, 再创建了一个 同名 project,
又在linux 上重做 git svn clone, 再也得获取不了代码,只得到一个空目录, 已经确定svn 上有代码的.
不知怎么回事. 求助各位,谢谢
admin$ git svn clone http://project_svn_url --no-metadata --authors-file=author.txt
Initialized empty Git repository in /myworkspath/project/.git/
...
W: Do not be alarmed at the above message git-svn is just searching aggressively for old history.
This may take a while on large repositories
r3775 = f8d188fd082fadeb2cb86b525987a540bb60e288 (refs/remotes/git-svn)
A test
W: +empty_dir: instance_manager
W: +empty_dir: meta_server
r3777 = d0aaf8b8aa4788d5cdbbb18e1277e614b08aedcd (refs/remotes/git-svn)
A instance_manager/APScheduler-3.0.4/apscheduler/executors/gevent.py
A instance_manager/APScheduler-3.0.4/apscheduler/executors/pool.py
A instance_manager/APScheduler-3.0.4/apscheduler/executors/base.py
...
完了之后只是个空目录
admin $ ll project/
total 0
drwxr-xr-x 3 admin staff 102 1 13 21:53 ./
drwxr-xr-x 10 admin staff 340 1 13 21:53 ../
drwxr-xr-x 12 admin staff 408 1 13 21:54 .git/
阿神2017-05-02 09:32:29
Masalah terakhir ialah terdapat pengguna yang tidak ditetapkan dalam autor.txt, klon git svn keluar, tetapi mesej gesaan ini tidak mudah diperhatikan