prolic on Nostr: Try this instead: git rebase -i origin/master. Pick and squash manually. This way you ...
Try this instead: git rebase -i origin/master. Pick and squash manually. This way you can squash all "cleanup" commits, rewrite some commit messages and deliver a much cleaner PR to master branch. Giant commits with tons of code are meaningless anyway, since you can't read what happened. Managing a clear and understandable git history takes a lot of discipline.
Published at
2024-09-16 04:50:06Event JSON
{
"id": "5c4d9f39cb1500249829686dc7773caca97d7baee20a71ca089055ae1a6fa79e",
"pubkey": "3b8c97ae9286f01253c4f88d42d16e858c7c92513abf2f38251aff713514bce6",
"created_at": 1726462206,
"kind": 1,
"tags": [
[
"e",
"891c34bd7ea30f4c71be412125f488722f2abbc4bf97de5a3909934d8d03ba67",
"",
"root"
],
[
"e",
"6c07983d863c5cd082baeee0a5b7a7d4ea04543bf2463e5bd21c7c7c6559243f"
],
[
"e",
"bfc8de9029982f3e1d1fb4843b2981ff2bce293503802fd54a529068a082285c",
"",
"reply"
],
[
"p",
"3b8c97ae9286f01253c4f88d42d16e858c7c92513abf2f38251aff713514bce6"
],
[
"p",
"036533caa872376946d4e4fdea4c1a0441eda38ca2d9d9417bb36006cbaabf58"
]
],
"content": "Try this instead: git rebase -i origin/master. Pick and squash manually. This way you can squash all \"cleanup\" commits, rewrite some commit messages and deliver a much cleaner PR to master branch. Giant commits with tons of code are meaningless anyway, since you can't read what happened. Managing a clear and understandable git history takes a lot of discipline.",
"sig": "f9dc1513ddc4a50cdc5ed86def499ced27a5bf8378210043178e371825244e8214ffc799e8505fa675cf06b597001ebc0724ffc9a252a23e4d0e815e84afb06f"
}