Last active
August 29, 2015 13:57
-
-
Save dhaley/9692370 to your computer and use it in GitHub Desktop.
Create git repos to reproduce nonsequitur/git-gutter-plus#10
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 | |
cd /tmp | |
mkdir repo1 | |
cd repo1 | |
touch aliases.drushrc.php | |
git init . | |
git add --all . | |
git commit -m 'normal file' | |
cd .. | |
mkdir repo2 | |
cd repo2 | |
ln -s /tmp/repo1/aliases.drushrc.php cu.aliases.drushrc.php | |
git init . | |
git add --all . | |
git commit -m 'symlink to file' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment