Skip to content

Instantly share code, notes, and snippets.

@Rodrigora Rodrigora/vi-commands.sh
Last active Oct 19, 2018

Embed
What would you like to do?
Useful VI commands for git
# GIT REBASE
# - VI replace pick -> fixup
:%s/pick/fixup/g
# replace " x x x" -> ""
:%s/\(\s\+x\)\+/\s/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.