Skip to content

Instantly share code, notes, and snippets.

@dhaley
Last active August 29, 2015 13:57
Show Gist options
  • Save dhaley/9692370 to your computer and use it in GitHub Desktop.
Save dhaley/9692370 to your computer and use it in GitHub Desktop.
Create git repos to reproduce nonsequitur/git-gutter-plus#10
#!/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