wiki:jazz/13-09-05

2013-09-05

oceandb

  • 備份 oceandb 程式碼成一個新的 svn dumpfile
    jazz@trac-pool:~$ svnadmin dump /forge/trac_pool/grid/svnroot/ > grid_svn_dumpfile
    jazz@trac-pool:~$ svndumpfilter include --drop-empty-revs --renumber-revs oceandb < grid_svn_dumpfile > oceandb_svn_dumpfile
    
  • 使用 git svn 直接匯出到 github
    jazz@vmm:~$ git svn clone https://trac.nchc.org.tw/svn/grid/oceandb/jQuery_Prototype/ oceandb
    jazz@vmm:~$ cd oceandb/
    jazz@vmm:~/oceandb$ git remote add origin https://github.com/jazzwang/oceandb.git
    jazz@vmm:~/oceandb$ git checkout git-svn 
    jazz@vmm:~/oceandb$ git push origin master 
    
Last modified 11 years ago Last modified on Sep 5, 2013, 8:20:18 PM