Skip to content

Instantly share code, notes, and snippets.

@joechrysler
Last active January 3, 2016 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joechrysler/8408144 to your computer and use it in GitHub Desktop.
Save joechrysler/8408144 to your computer and use it in GitHub Desktop.
A test...
#!/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