|
28 | 28 |
|
29 | 29 | $ git merge -q branch2 --no-ff
|
30 | 30 |
|
31 |
| - $ josh-filter -s --squash "refs/tags/*" --update refs/heads/filtered |
| 31 | + $ josh-filter -s --squash "refs/tags/*" --author "New Author" --email "new@e.mail" --update refs/heads/filtered |
32 | 32 | Warning: reference refs/heads/filtered wasn't updated
|
33 | 33 | [1] :SQUASH=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
|
34 | 34 |
|
|
38 | 38 | 'git <command> [<revision>...] -- [<file>...]'
|
39 | 39 | [128]
|
40 | 40 | $ git tag tag_a 1d69b7d
|
41 |
| - $ josh-filter -s --squash "refs/tags/*" --update refs/heads/filtered |
| 41 | + $ josh-filter -s --squash "refs/tags/*" --author "New Author" --email "new@e.mail" --update refs/heads/filtered |
42 | 42 | [1] :SQUASH=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
|
43 |
| - [2] :SQUASH=10d465cdf297e8062eed54204414414faa63671e |
| 43 | + [2] :SQUASH=e8e83b9c5d2f779f0cea83a6cad68b710a399c96 |
44 | 44 |
|
45 | 45 | $ git log --graph --decorate --pretty=oneline refs/heads/filtered
|
46 |
| - * 97a9ff7bd4dad25b9dacdfdaeb861e74e7b4aef8 (tag: filtered/tag_a, filtered) refs/tags/tag_a |
| 46 | + * d8aa5a9937f4f0bd645dbc0b591bae5cd6b6d91b (tag: filtered/tag_a, filtered) refs/tags/tag_a |
47 | 47 | $ git tag tag_b 0b4cf6c
|
48 | 48 |
|
| 49 | + |
49 | 50 | $ git log --graph --decorate --pretty=oneline
|
50 | 51 | * 1d69b7d2651f744be3416f2ad526aeccefb99310 (HEAD -> master, tag: tag_a) Merge branch 'branch2'
|
51 | 52 | |\
|
|
55 | 56 | |/
|
56 | 57 | * 0b4cf6c9efbbda1eada39fa9c1d21d2525b027bb (tag: tag_b) add file1
|
57 | 58 |
|
58 |
| - $ josh-filter -s --squash "refs/tags/*" --update refs/heads/filtered |
| 59 | + $ josh-filter -s --squash "refs/tags/*" --author "New Author" --email "new@e.mail" --update refs/heads/filtered |
59 | 60 | [1] :SQUASH=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
|
60 |
| - [2] :SQUASH=10d465cdf297e8062eed54204414414faa63671e |
61 |
| - [3] :SQUASH=1683a7fc84387b56a1a5de8e9fcf720166951949 |
| 61 | + [2] :SQUASH=e8e83b9c5d2f779f0cea83a6cad68b710a399c96 |
| 62 | + [3] :SQUASH=3953063f3dc58661e9db16f9014aab1e8ec50bf8 |
62 | 63 |
|
63 | 64 | $ git log --graph --decorate --pretty=oneline refs/heads/filtered
|
64 |
| - * fa3bd3f0d90d5894c6ac402ef5f764b75335ec01 (tag: filtered/tag_a, filtered) refs/tags/tag_a |
| 65 | + * 5b1a753860ca124024f6dfb4fd018fe7df8beae4 (tag: filtered/tag_a, filtered) refs/tags/tag_a |
| 66 | + |\ |
| 67 | + * 96a731a4d64a8928e6af7abb2d425df3812b4197 (tag: filtered/tag_b) refs/tags/tag_b |
| 68 | + |
| 69 | + $ git log --graph --pretty=%an:%ae refs/heads/master |
| 70 | + * Josh:josh@example.com |
| 71 | + |\ |
| 72 | + | * Josh:josh@example.com |
| 73 | + | * Josh:josh@example.com |
| 74 | + * | Josh:josh@example.com |
| 75 | + |/ |
| 76 | + * Josh:josh@example.com |
| 77 | + $ git log --graph --pretty=%an:%ae refs/heads/filtered |
| 78 | + * New Author:new@e.mail |
65 | 79 | |\
|
66 |
| - * 077b2cad7b3fbc393b6320b90c9c0be1255ac309 (tag: filtered/tag_b) refs/tags/tag_b |
| 80 | + * New Author:new@e.mail |
67 | 81 |
|
68 | 82 | $ git tag tag_c 975d4c4
|
69 | 83 |
|
70 |
| - $ josh-filter -s --squash "refs/tags/*" --update refs/heads/filtered |
| 84 | + $ josh-filter -s --squash "refs/tags/*" --author "New Author" --email "new@e.mail" --update refs/heads/filtered |
71 | 85 | [1] :SQUASH=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
|
72 |
| - [2] :SQUASH=10d465cdf297e8062eed54204414414faa63671e |
73 |
| - [3] :SQUASH=1683a7fc84387b56a1a5de8e9fcf720166951949 |
74 |
| - [6] :SQUASH=06a82cb9d2d3abb0ac59f8c782fd7edecc8e8d28 |
| 86 | + [2] :SQUASH=e8e83b9c5d2f779f0cea83a6cad68b710a399c96 |
| 87 | + [3] :SQUASH=3953063f3dc58661e9db16f9014aab1e8ec50bf8 |
| 88 | + [6] :SQUASH=6a132477d438779dbaeb0d68b9aab55786e28dd9 |
75 | 89 |
|
76 | 90 | $ git log --graph --decorate --pretty=oneline refs/heads/filtered
|
77 |
| - * dc1dc0211db7a1aea1234af950b4946afa5a6f14 (tag: filtered/tag_a, filtered) refs/tags/tag_a |
| 91 | + * 9fe45cb2bead844630852ab338ecd8e073f8ba50 (tag: filtered/tag_a, filtered) refs/tags/tag_a |
78 | 92 | |\
|
79 |
| - | * 500760f4e4f3d4ba6e73af7ce0a98d91a25a503a (tag: filtered/tag_c) refs/tags/tag_c |
| 93 | + | * d6b88d4c1cc566b7f4d9b51353ec6f3204a93b81 (tag: filtered/tag_c) refs/tags/tag_c |
80 | 94 | |/
|
81 |
| - * 077b2cad7b3fbc393b6320b90c9c0be1255ac309 (tag: filtered/tag_b) refs/tags/tag_b |
| 95 | + * 96a731a4d64a8928e6af7abb2d425df3812b4197 (tag: filtered/tag_b) refs/tags/tag_b |
82 | 96 |
|
0 commit comments