aboutsummaryrefslogtreecommitdiffstats
path: root/notes
blob: 356a9a63c1244cf2e055a24d10729b8f96c1d0d5 (plain) (blame)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
echo "dnkqslnokqe" | git hash-object --stdin -w
bca2068e9b221d47154d1e3eaebf8c9abd86951f

git cat-file -p bca2068e9b221d47154d1e3eaebf8c9abd86951f
dnkqslnokqe


git update-ref refs/bug/HEAD bca2068e9b221d47154d1e3eaebf8c9abd86951f

git show refs/bug/HEAD

git push origin "refs/bug/*"

git fetch origin "refs/bug/*:refs/bug/*"


git show-ref refs/bug


git update-index --add --cacheinfo 100644 83baae61804e65cc73a7201a7252750c76066a30 test.txt

git show-ref --hash refs/bugs/4ef19f8a-2e6a-45f7-910e-52e3c639cd86

git for-each-ref --format="%(refname)" "refs/bugs/*"

-- delete all remote bug refs
git for-each-ref refs/remote/origin/bugs/* --format="%(refname:lstrip=-1)"  | xargs -i git push origin :refs/bugs/{}

Bug operations:
- create bug
- change title
- add comment
- edit text comment
- hide/unhide/delete comment
- (?) reply to comment
- add/remove [label, assignee, project, milestone, ...]


G-Set (append only log)
-----

- create bug
- change title
- add/edit/hide/unhide/delete comment


LWW-e-Set (add + remove, based on timestamp)
---------

- label
- assignee
- project
- milestone