Apktool 2.9.2
[opengapps/opengapps.git] / HOWTO-get-repo-history.txt
blobfcb9fc75d69d934856a57118a16d357cf351f8e3
1 Update each repo per: https://git-scm.com/blog/2010/03/17/replace.html
3 opengapps/all --> NicholasBuse/all-history
4   1. branched: e3b05ccc1975ce5fd83a3f18c0e10a5ce4af7b41 as "history"
5      $ git branch history e3b05ccc1975ce5fd83a3f18c0e10a5ce4af7b41
6   2. pushed "history" to NicholasBuse/all-history master
7      Cloned opengapps/all to NicholasBuse/all and renamed to all-history
8      $ git remote add history git@github.com:NicholasBuse/all-history.git
9      $ git push -f history history:master
10   3. Created place holder commit
11      $ echo 'get history from NicholasBuse/all-history' | git commit-tree d7628581fa59916aee80d49964b34de8b733ee1b^{tree}
12        d63c8145cac88ec3f92999817915752fae06006c
13   4. $ git rebase --onto d63c8145cac88ec3f92999817915752fae06006c d7628581fa59916aee80d49964b34de8b733ee1b
14   5. $ git push -f origin HEAD:master
16   TO RESTORE
18   1. $ git remote add history git://gitlab.com/NicholasBuse/all-history.git
19   2. $ git fetch history
20   3. $ git replace 4f12367695cc9a38b342b2d07bfaf82a5ae76e90 e3b05ccc1975ce5fd83a3f18c0e10a5ce4af7b41
22 opengapps/arm --> NicholasBuse/arm-history
23   1. branched: 3a9ef5dd1438d6d1a4b21bd544d76a45b08ab59f as "history"
24      $ git branch history 3a9ef5dd1438d6d1a4b21bd544d76a45b08ab59f
25   2. pushed "history" to NicholasBuse/arm-history master
26      Cloned opengapps/arm to NicholasBuse/arm and renamed to arm-history
27      $ git remote add history git@github.com:NicholasBuse/arm-history.git
28      $ git push -f history history:master
29   3. Created place holder commit
30      $ echo 'get history from NicholasBuse/arm-history' | git commit-tree 09c70388507249f3ed1b0d12b0fb0930d96146b0^{tree}
31        4f0e21ccec17bd88a3d448ee696e6e99770f308f
32   4. $ git rebase --onto 4f0e21ccec17bd88a3d448ee696e6e99770f308f 09c70388507249f3ed1b0d12b0fb0930d96146b0
33   5. $ git push -f origin HEAD:master
35   TO RESTORE
37   1. $ git remote add history git://gitlab.com/NicholasBuse/arm-history.git
38   2. $ git fetch history
39   3. $ git replace 8d010fb6f7b4c5a69ba72adf8342cea11765e088 3a9ef5dd1438d6d1a4b21bd544d76a45b08ab59f
41 opengapps/arm64 --> NicholasBuse/arm64-history
42   1. branched: 2008377dc70b2faf8ffe7be8a658fd31e77daa21 as "history"
43      $ git branch history 2008377dc70b2faf8ffe7be8a658fd31e77daa21
44   2. pushed "history" to NicholasBuse/arm64-history master
45      Cloned opengapps/arm64 to NicholasBuse/arm64 and renamed to arm64-history
46      $ git remote add history git@github.com:NicholasBuse/arm64-history.git
47      $ git push -f history history:master
48   3. Created place holder commit
49      $ echo 'get history from NicholasBuse/arm64-history' | git commit-tree 3fcb384db229a419331dd1a988b91e0a116b34cf^{tree}
50        dfb0b16f581bed6cd2c0816924762ba4030223d6
51   4. $ git rebase --onto dfb0b16f581bed6cd2c0816924762ba4030223d6 3fcb384db229a419331dd1a988b91e0a116b34cf
52   5. $ git push -f origin HEAD:master
54   TO RESTORE
56   1. $ git remote add history git://gitlab.com/NicholasBuse/arm64-history.git
57   2. $ git fetch history
58   3. $ git replace 3146d65143c6c5233968edbed078faa6a24d15e0 2008377dc70b2faf8ffe7be8a658fd31e77daa21
60 opengapps/x86 --> NicholasBuse/x86-history
61   1. branched: 6488ad2bf7220a60a7ef2642ff9c3876f9bd87b9 as "history"
62      $ git branch history 6488ad2bf7220a60a7ef2642ff9c3876f9bd87b9
63   2. pushed "history" to NicholasBuse/x86-history master
64      Cloned opengapps/x86 to NicholasBuse/x86 and renamed to x86-history
65      $ git remote add history git@github.com:NicholasBuse/x86-history.git
66      $ git push -f history history:master
67   3. Created place holder commit
68      $ echo 'get history from NicholasBuse/x86-history' | git commit-tree c6651ee00b3c68681a96fb786294f6cb23fba0ff^{tree}
69        f1f6c2a7f10db2187808d526d8759a4b088a3f95
70   4. $ git rebase --onto f1f6c2a7f10db2187808d526d8759a4b088a3f95 c6651ee00b3c68681a96fb786294f6cb23fba0ff
71   5. $ git push -f origin HEAD:master
73   TO RESTORE
75   1. $ git remote add history git://gitlab.com/NicholasBuse/x86-history.git
76   2. $ git fetch history
77   3. $ git replace bdc5013a3e1073f5f67301f23abe728aeb6edd33 6488ad2bf7220a60a7ef2642ff9c3876f9bd87b9
79 opengapps/x86_64 --> NicholasBuse/x86_64-history
80   1. branched: b1defac3a0bf9c628009302e09165f4a8b5bf0de as "history"
81      $ git branch history b1defac3a0bf9c628009302e09165f4a8b5bf0de
82   2. pushed "history" to NicholasBuse/x86_64-history master
83      Cloned opengapps/x64_64 to NicholasBuse/x86_64 and renamed to x86_64-history
84      $ git remote add history git@github.com:NicholasBuse/x86_64-history.git
85      $ git push -f history history:master
86   3. Created place holder commit
87      $ echo 'get history NicholasBuse/x86_64-history' | git commit-tree ef9d11d5f0964784621b81f128f89e665f1123e5^{tree}
88        3bc36b8a586f9acc1d93bbe8e2cbb410e2a55eaa
89   4. $ git rebase --onto 3bc36b8a586f9acc1d93bbe8e2cbb410e2a55eaa ef9d11d5f0964784621b81f128f89e665f1123e5
90   5. $ git push -f origin HEAD:master
92   TO RESTORE
94   1. $ git remote add history git://gitlab.com/NicholasBuse/all-history.git
95   2. $ git fetch history
96   3. $ git replace aff0466f67f47603bfda80ff18aedb3c32afea7b b1defac3a0bf9c628009302e09165f4a8b5bf0de