Title: Support gh stack rebase --reset-author-date / --committer-date-is-author-date passthrough · Issue #34 · github/gh-stack · GitHub
Open Graph Title: Support gh stack rebase --reset-author-date / --committer-date-is-author-date passthrough · Issue #34 · github/gh-stack
X Title: Support gh stack rebase --reset-author-date / --committer-date-is-author-date passthrough · Issue #34 · github/gh-stack
Description: Feature request gh stack rebase currently invokes git rebase without passing through date-related flags. It would be useful to support --reset-author-date and/or --committer-date-is-author-date so users can control how commit timestamps ...
Open Graph Description: Feature request gh stack rebase currently invokes git rebase without passing through date-related flags. It would be useful to support --reset-author-date and/or --committer-date-is-author-date so ...
X Description: Feature request gh stack rebase currently invokes git rebase without passing through date-related flags. It would be useful to support --reset-author-date and/or --committer-date-is-author-date so ...
Opengraph URL: https://github.com/github/gh-stack/issues/34
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support gh stack rebase --reset-author-date / --committer-date-is-author-date passthrough","articleBody":"## Feature request\n\n`gh stack rebase` currently invokes `git rebase` without passing through date-related flags. It would be useful to support `--reset-author-date` and/or `--committer-date-is-author-date` so users can control how commit timestamps are handled during cascade rebases.\n\n## Current behavior\n\n`git rebase` and `git rebase --onto` are called with no date flags:\n\n- `internal/git/gitops.go` — `Rebase()`: `runSilent(\"rebase\", base)`\n- `internal/git/gitops.go` — `RebaseOnto()`: `runSilent(\"rebase\", \"--onto\", newBase, oldBase, branch)`\n\nCommit timestamps follow git's default rebase behavior. There is no way to pass date-related flags through `gh stack rebase`.\n\n## Proposed behavior\n\nAdd optional flags to `gh stack rebase`:\n\n- `--reset-author-date` — forwards `--reset-author-date` to the underlying `git rebase` calls\n- `--committer-date-is-author-date` — forwards `--committer-date-is-author-date` to the underlying `git rebase` calls\n\nThese should be forwarded to both `Rebase()` and `RebaseOnto()` calls throughout the cascade rebase, including `--continue` flows.\n\n## Use case\n\nWhen rebasing stacked branches, the committer date can become significantly newer than the author date, causing commits to appear out of chronological order in tools that sort by committer date. Having control over date handling during `gh stack rebase` would keep commit history clean and consistent.","author":{"url":"https://github.com/Kick-snare","@type":"Person","name":"Kick-snare"},"datePublished":"2026-04-16T07:04:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/34/gh-stack/issues/34"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ee5730a6-3514-8abd-dbc8-60f0e9b19bfc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E914:16C3D3:5EB9D16:858F6EC:6A501441 |
| html-safe-nonce | 8eec2168bd28e7954a55d4677c5f2a5cf1225399b45ed04b6f829c3e42e5f4e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTE0OjE2QzNEMzo1RUI5RDE2Ojg1OEY2RUM6NkE1MDE0NDEiLCJ2aXNpdG9yX2lkIjoiMzc4NjgwODA3NDY1MzY2ODQxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 455951484a0abb391076132556a3b8bc6b472b0c4a15b819f5ac63ec015a3ede |
| hovercard-subject-tag | issue:4273839842 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/gh-stack/34/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fda7611224bd85676cfdefe95d78eefd36a205bac99966600c06ab6337425fda/github/gh-stack/issues/34 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fda7611224bd85676cfdefe95d78eefd36a205bac99966600c06ab6337425fda/github/gh-stack/issues/34 |
| og:image:alt | Feature request gh stack rebase currently invokes git rebase without passing through date-related flags. It would be useful to support --reset-author-date and/or --committer-date-is-author-date so ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Kick-snare |
| hostname | github.com |
| expected-hostname | github.com |
| None | fe4f38b24922a1ce81c1708c3793b47c185599b9144ab94f6ca846b00698058d |
| turbo-cache-control | no-preview |
| go-import | github.com/github/gh-stack git https://github.com/github/gh-stack.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 1151630728 |
| octolytics-dimension-repository_nwo | github/gh-stack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1151630728 |
| octolytics-dimension-repository_network_root_nwo | github/gh-stack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 42b6390c91978a16f9196c38c7a00e9bf21f37e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width