svn add new project
cd newProjectname
svn import svn://172.23.57.201/home/hybrid-OTT/trunk/newProjectname
svn import 的时候加入参数 --no-ignore
svn import --no-ignoresvn://172.23.57.201/home/hybrid-OTT/trunk/newProjectname
svn 加入原本被忽略掉的檔案,
svn add * --force就可以從這就可以從這層目錄開始,自動遞迴加入原本不被版本控制的新檔案
--no-ignore是加入那些檔案狀態是I的檔案
svn add --no-ignore * --force
=======================================
Have you checked your global ignore settings. On linux they are stored in ~/.subversion/config
The default on my machine is :
global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo
so it ignores *.a files
more infohere
You should be able to add the file with
svn add "file" --no-ignore
to bypass any ignore rule set.
If the command:
svn status --no-ignore
returns withIin front you have a local Ignore. Run:
svn propedit svn:ignore
优质内容筛选与推荐>>