版本管理-link

1.编写一个link脚本(eg:create_link.csh)

//脚本

   #!/bin/csh -f
   # this script is used to create link of hdl,lib,sim dirctory

   echo "create link for each of the following folder"
   ln -sf /work/wproject/vc_xxx/fe/`whoami`/xxx/hdl .(注意“.”当前目录下)
  echo ""
2. source create_link.csh

按照如上两个步骤就可以将hdl路径下内容link到当前路径下,方便版本管理,只需要维护一套code

原文地址:https://www.cnblogs.com/lidan2019/p/10418124.html