-
(hidden) qMK1Ylhzv [[(hidden) S-ygYfi0j]]
-
(hidden) 273H1puY7
-
(hidden) y9vGxwqDK
-
(hidden) dAgCOk9v6
-
[[git-stacked-rebase]]
-
continuing the monkey-patching route
-
#observation if stopping w/ `edit` or `break` or similar, and then splitting 1 commit into multiple (e.g. `git reset @~`, git add file1 & commit, git add file2 & commit, git rebase --continue), then in the `rewritten-list`, the old commit now points to the __latest__ new commit (i.e. if you created commit1, commit2, commit3, now old commit would point to commit3).
-
the code is absolute garbage pile of trash. BUT. IT KINDA WORKS!!!!! 🚀🚀🚀
-
{{[[TODO]]}} modify `branch-end`s after every regular run (if any of their earlier commits got changed) (currently only happens when doing `--apply`, otherwise progress lost)
-
{{[[TODO]]}} checkout remote branches locally if initial run
-
{{[[TODO]]}} `-p|--push` next
-
{{[[TODO]]}} `branch-end-new` (should be doable - get previous commit, checkout, rebase parents on top of new branch, done)
-
.
-
our goal, fundamentally, is to what commit what partial branch points to.
-
{{[[TODO]]}} have a list of branch->commit_sha (much likst rewritten-list of commits) (similarly to how we already have a backup dir), keep it updated.
-
{{[[TODO]]}} allow comitting to share w/ other devices / even other ppl (tho 2nd not recommended)
-
{{[[TODO]]}} if some branch name goes missing, add them to the very end and show to user that they are lost (should be pretty simple - since visibility, user can see themselves that something's wrong (tho might be less apparent if bigger change / more commits))
-
-
{{[[TODO]]}} do not reset, not even rebase the latest branch. it should be the untouched one, except explicitly by the user
-
-
-
-
-
(hidden) 5lESGK0xl