Skip to content

Instantly share code, notes, and snippets.

@rm--
Created September 10, 2026 11:10
Show Gist options
  • Select an option

  • Save rm--/2cb21c6800cd69aa6cdc48cf01f881ff to your computer and use it in GitHub Desktop.

Select an option

Save rm--/2cb21c6800cd69aa6cdc48cf01f881ff to your computer and use it in GitHub Desktop.
get commit of range and apply them somewhere else
git rev-list --reverse cbd2270..a1a9de6 | tr '\n' ' '
git cp -X theirs <...>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment