ページへ戻る

− Links

 印刷 

[GitHub] @xoopscube​/legacy​/extras の lecat の抜き出しメモ :: XOOPS マニア

UsersWiki:nao-pon/blog/2013-04-13


RSS of nao-pon/blog[5]
2013 4月 13 (土)
 

[GitHub] @xoopscube/legacy/extras の lecat の抜き出しメモ anchor.png[6]

Tag: XOOPS[7] XCL[8] メモ[9] GitHub[10]
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
cd xoopsx_legacy
git checkout xoopscube
git pull
 
cd ../
 
git clone xoopsx_legacy lecat_html
cd lecat_html
git filter-branch --subdirectory-filter extras/extra_modules/html/modules/lecat HEAD
 
cd ../
 
git clone xoopsx_legacy lecat_trust
cd lecat_trust
git filter-branch --subdirectory-filter extras/extra_modules/xoops_trust_path[11]/modules/lecat HEAD
 
cd ../
 
git init lecat
cd lecat
 
mkdir html
mkdir html/modules
mkdir html/modules/lecat
touch html/modules/lecat/.gitkeep
mkdir xoops_trust_path[11]
mkdir xoops_trust_path[11]/modules
mkdir xoops_trust_path[11]/modules/lecat
touch xoops_trust_path[11]/modules/lecat/.gitkeep
 
git add -A
git commit -a -m "create directory"
 
git remote add lecat_html ../lecat_html
git fetch lecat_html
git merge -X subtree=html/modules/lecat lecat_html/xoopscube
 
git remote add lecat_trust ../lecat_trust
git fetch lecat_trust
git merge -X subtree=xoops_trust_path[11]/modules/lecat lecat_trust/xoopscube

更新分適用は次のような感じでいけるのかな?要チェック。

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cd xoopsx_legacy
git checkout xoopscube
git pull
 
cd ../
 
rm -rf lecat_html
git clone xoopsx_legacy lecat_html
cd lecat_html
git filter-branch --subdirectory-filter extras/extra_modules/html/modules/lecat HEAD
 
cd ../
 
rm -rf lecat_trust
git clone xoopsx_legacy lecat_trust
cd lecat_trust
git filter-branch --subdirectory-filter extras/extra_modules/xoops_trust_path[11]/modules/lecat HEAD
 
cd ../
 
cd lecat
 
git fetch lecat_html
git merge -X subtree=html/modules/lecat lecat_html/xoopscube
 
git fetch lecat_trust
git merge -X subtree=xoops_trust_path[11]/modules/lecat lecat_trust/xoopscube


Last-modified: 2013-04-13 (土) 00:38:28 (JST) (4021d) by nao-pon