Last active
May 17, 2016 23:39
-
-
Save javabrett/227f276e4eba94e4d483621d6d68b643 to your computer and use it in GitHub Desktop.
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 | |
set -x | |
set -e | |
TMP_GIT=$(mktemp -d) | |
cd $TMP_GIT | |
git init | |
git config user.name "some user" | |
git config user.email "[email protected]" | |
echo A > A | |
git add A | |
git commit -m "A" | |
echo B > B | |
git add B | |
git commit -m "B" | |
echo C > C | |
git add C | |
git commit -m "C" | |
git rm A | |
git commit -m "rm A" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment