Skip to content

Instantly share code, notes, and snippets.

View seanbecker15's full-sized avatar
🤌
Probably making pasta

Sean Becker seanbecker15

🤌
Probably making pasta
View GitHub Profile
@titenkov
titenkov / vim-visual-blocks.md
Last active October 24, 2024 15:12
Use Vim visual blocks during interactive git rebase

Sometimes, when rebasing interactively with git, we need to squash a sequence of commits in a branch.

For example, we need to transform this:

pick 0253dc894f bumped
pick 5a1e86933c remove dependency
pick bffoffb395 memberships rpc resource
pick 222fabf5e0 rpc membership service
pick 726a2f9a10 remove crypto logic