Last active
July 28, 2017 21:34
-
-
Save bmakarand2009/680330898b3665ae4b4ce19ac5ee9c78 to your computer and use it in GitHub Desktop.
Git Procedures
This file contains hidden or 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
# example merging 4 commits | |
git checkout mybranch | |
git rebase -i mybranch~4 mybranch | |
# at the interactive screen | |
# choose fixup for commit: 2 / 3 / 4 | |
# use find and replace of vim editor interactively by :%s/pick/f/gc | |
git push -u origin +mybranch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment