Created
September 26, 2019 16:07
-
-
Save gastonambrogi/33e1cf3ac01eddb331735aaada14d568 to your computer and use it in GitHub Desktop.
[VIM] Replace all ocurrences in lines that starts with 'pick' from the line 2 to the end of the file with 'squash' (ideal for git rebasing)
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
:2,$s/^pick/squash/g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment