Last active
January 3, 2016 04:19
-
-
Save joechrysler/8408144 to your computer and use it in GitHub Desktop.
A test...
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
#!/usr/bin/env bash | |
mkdir weirdness | |
cd weirdness | |
git init | |
echo "hello" > file | |
git add file | |
git commit -m "add file" | |
echo '' | |
echo 'After adding the file:' | |
ls # should return "file" | |
echo '' | |
echo "file" > .gitignore | |
git add .gitignore | |
git commit -m "add gitignore" | |
echo '' | |
echo 'After adding .gitignore:' | |
ls # should return "file" | |
echo '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment