Skip to content

Commit

Permalink
add new script
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahs committed Dec 1, 2020
1 parent 6304c86 commit 93a9d3b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions script/early-access/clone-locally
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env bash

if [ -d "../docs-early-access" ]; then
echo "A '../docs-early-access' directory already exists!"
exit 0
fi

# Go up a directory
pushd ..

# Clone the repo
git clone git@github.com:github/docs-early-access.git

# Go back to the previous working directory
popd

# Symlink the local docs-early-access repo into this repo
node script/early-access/symlink-from-local-repo.js -p ../docs-early-access

echo -e '\nDone!'

0 comments on commit 93a9d3b

Please sign in to comment.