#!/bin/sh
mkdir gwt-crash
cd gwt-crash
git init
touch a
git add a
git commit -m init

git branch foo

echo 123 > new
git add new
git commit -m 123

echo 456 > new
git commit -a -m 456

echo 789 > new
git commit -a -m 789


git checkout foo
git cherry-pick -n master^
git cherry-pick -n master
