Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by happytoexplain

2 months ago

Even if `--update-refs` didn't exist, my experience is that git can identify duplicate commits produced by rebase, and knows to skip them when rebasing the same commits to the same place again. Am I imagining that?

2 comments

happytoexplain

Reply

adrianN  2 months ago

That works until you had to fix conflicts during the rebase and the commits are no longer identical.

1718627440  2 months ago

It definitely fast-forwards unchanged commits.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities