Skip to content

Instantly share code, notes, and snippets.

@vitordino
Created September 4, 2018 09:03
Show Gist options
  • Save vitordino/d7539d7fc0e61caa3ec18bc42ba365a9 to your computer and use it in GitHub Desktop.
Save vitordino/d7539d7fc0e61caa3ec18bc42ba365a9 to your computer and use it in GitHub Desktop.

Revisions

  1. Vitor Dino created this gist Sep 4, 2018.
    2 changes: 2 additions & 0 deletions git-prepend.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    git filter-branch -f --msg-filter 'sed "1 s/^/LOREM_IPSUM: /"' origin/master..HEAD
    # string to prepend ⬏───────────⬏ ⬑ range of commits