[ Launch: FSS canvas example ] 6352027 by madprog[ Launch: FSS canvas example ] 5250737 by enjalot[ Launch: basic FSS canvas ] 5250708 by enjalot
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
#!/bin/sh | |
base=$1 | |
shift | |
git checkout $base | |
for commit in "$@"; do | |
git rebase -f --onto HEAD $commit~1 $commit~0 | |
if [ $? -ne 0 ]; then | |
echo "\x1b[31mFailed rebasing $commit onto HEAD.\nPlease resolve the conflicts and finish the rebasing.\nNon-zero exit will stop the process.\x1b[0m" | |
$SHELL | |
if [ $? -ne 0 ]; then |
NewerOlder