Last active
April 27, 2018 10:09
-
-
Save WORMSS/b31ffc84b29c54a42ccf to your computer and use it in GitHub Desktop.
Octopus Merge
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
# Make octopus from current commit/index | |
commit_id=$(git commit-tree $(git write-tree) -p commit1 -p commit2 -p commit3 -m "Octopus Message") | |
git branch -f "tmp/octopus" "$commit_id" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment