Last active
October 19, 2018 13:34
-
-
Save Rodrigora/33ea6f6bfc5df707fb0c37a16376dd7d to your computer and use it in GitHub Desktop.
Useful VI commands for git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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