|
1 | 1 | # gcb
|
| 2 | + |
2 | 3 | github covert branch
|
| 4 | + |
| 5 | +Check out these URLs, then realise they can't be seen from Github navigation. |
| 6 | +https://github.com/bawr/gcb/tree/f178662d86c110746147f1b7afe0ee9f5cda1a69 |
| 7 | +https://github.com/bawr/gcb/tree/9bc1b1643e491aa51035a51383af72e8d7eee0f9 |
| 8 | +https://github.com/bawr/gcb/tree/refs/remotes/origin/HEAD |
| 9 | + |
| 10 | +``` |
| 11 | +alpine:~$ gcb-init bawr gcb gcb-secrets-hidden |
| 12 | +
|
| 13 | +Initialized empty Git repository in /home/bawr/gcb-secrets-hidden/.git/ |
| 14 | +Switched to a new branch 'master' |
| 15 | +[master (root-commit) e6a0e13] initial covert commit |
| 16 | +
|
| 17 | +alpine:~$ cd gcb-secrets-hidden |
| 18 | +
|
| 19 | +alpine:~/gcb-secrets-hidden$ gcb-push |
| 20 | +
|
| 21 | +Counting objects: 2, done. |
| 22 | +Writing objects: 100% (2/2), 178 bytes | 0 bytes/s, done. |
| 23 | +Total 2 (delta 0), reused 0 (delta 0) |
| 24 | +To https://github.com/bawr/gcb.git |
| 25 | + * [new branch] HEAD -> origin/HEAD |
| 26 | +
|
| 27 | +alpine:~/gcb-secrets-hidden$ echo secret_one > top-secret.txt |
| 28 | +alpine:~/gcb-secrets-hidden$ git add top-secret.txt |
| 29 | +alpine:~/gcb-secrets-hidden$ git commit -m "Secret one" |
| 30 | +
|
| 31 | +[master f3b5817] Secret one |
| 32 | + 1 file changed, 1 insertion(+) |
| 33 | + create mode 100644 top-secret.txt |
| 34 | +
|
| 35 | +alpine:~/gcb-secrets-hidden$ echo secret_two > top-secret.txt |
| 36 | +alpine:~/gcb-secrets-hidden$ git add top-secret.txt |
| 37 | +alpine:~/gcb-secrets-hidden$ git commit -m "Secret two" |
| 38 | +
|
| 39 | +[master f178662] Secret two |
| 40 | + 1 file changed, 1 insertion(+), 1 deletion(-) |
| 41 | +
|
| 42 | +alpine:~/gcb-secrets-hidden$ gcb-push |
| 43 | +
|
| 44 | +Counting objects: 6, done. |
| 45 | +Delta compression using up to 4 threads. |
| 46 | +Compressing objects: 100% (2/2), done. |
| 47 | +Writing objects: 100% (6/6), 501 bytes | 0 bytes/s, done. |
| 48 | +Total 6 (delta 0), reused 0 (delta 0) |
| 49 | +To https://github.com/bawr/gcb.git |
| 50 | + e6a0e13..f178662 HEAD -> origin/HEAD |
| 51 | +
|
| 52 | +alpine:~/gcb-secrets-hidden$ gcb-urls |
| 53 | +
|
| 54 | +tree: https://github.com/bawr/gcb/tree/f178662d86c110746147f1b7afe0ee9f5cda1a69 |
| 55 | +pack: https://github.com/bawr/gcb/archive/f178662d86c110746147f1b7afe0ee9f5cda1a69.zip |
| 56 | +
|
| 57 | +alpine:~/gcb-secrets$ ~/gcb/gcb-clear |
| 58 | +
|
| 59 | +To https://github.com/bawr/gcb.git |
| 60 | + - [deleted] origin/HEAD |
| 61 | +
|
| 62 | +alpine:~/gcb-secrets-hidden$ git ls-remote |
| 63 | +
|
| 64 | +From https://github.com/bawr/gcb.git |
| 65 | +8dbfeb09658f4dc780b065bdfe66543f2502b926 HEAD |
| 66 | +8dbfeb09658f4dc780b065bdfe66543f2502b926 refs/heads/master |
| 67 | +``` |
| 68 | + |
| 69 | +``` |
| 70 | +alpine:~$ gcb-init bawr gcb gcb-secrets-shown |
| 71 | +
|
| 72 | +Initialized empty Git repository in /home/bawr/gcb-secrets-shown/.git/ |
| 73 | +Switched to a new branch 'master' |
| 74 | +[master (root-commit) 26f3656] initial covert commit |
| 75 | +
|
| 76 | +alpine:~$ cd gcb-secrets-shown/ |
| 77 | +
|
| 78 | +alpine:~/gcb-secrets-shown$ echo top > top-covert.txt |
| 79 | +alpine:~/gcb-secrets-shown$ git add top-covert.txt |
| 80 | +alpine:~/gcb-secrets-shown$ git commit -m "Top covert" |
| 81 | +
|
| 82 | +[master 9bc1b16] Top covert |
| 83 | + 1 file changed, 1 insertion(+) |
| 84 | + create mode 100644 top-covert.txt |
| 85 | +
|
| 86 | +alpine:~/gcb-secrets-shown$ ~/gcb/gcb-push |
| 87 | +
|
| 88 | +Counting objects: 5, done. |
| 89 | +Delta compression using up to 4 threads. |
| 90 | +Compressing objects: 100% (2/2), done. |
| 91 | +Writing objects: 100% (5/5), 404 bytes | 0 bytes/s, done. |
| 92 | +Total 5 (delta 0), reused 0 (delta 0) |
| 93 | +To https://github.com/bawr/gcb.git |
| 94 | + * [new branch] HEAD -> origin/HEAD |
| 95 | +
|
| 96 | +alpine:~/gcb-secrets-shown$ gcb-urls |
| 97 | +
|
| 98 | +tree: https://github.com/bawr/gcb/tree/9bc1b1643e491aa51035a51383af72e8d7eee0f9 |
| 99 | +pack: https://github.com/bawr/gcb/archive/9bc1b1643e491aa51035a51383af72e8d7eee0f9.zip |
| 100 | +
|
| 101 | +alpine:~/gcb-secrets-shown$ git ls-remote |
| 102 | +
|
| 103 | +From https://github.com/bawr/gcb.git |
| 104 | +8dbfeb09658f4dc780b065bdfe66543f2502b926 HEAD |
| 105 | +8dbfeb09658f4dc780b065bdfe66543f2502b926 refs/heads/master |
| 106 | +9bc1b1643e491aa51035a51383af72e8d7eee0f9 refs/remotes/origin/HEAD |
| 107 | +``` |
0 commit comments