Skip to content

Instantly share code, notes, and snippets.

@tallakt
Last active September 25, 2017 20:44
Show Gist options
  • Save tallakt/7048c646b999faf17db98a49e6374324 to your computer and use it in GitHub Desktop.
Save tallakt/7048c646b999faf17db98a49e6374324 to your computer and use it in GitHub Desktop.
#!/bin/sh
# $ curl -s https://gist.githubusercontent.com/tallakt/7048c646b999faf17db98a49e6374324/raw/020b759c6f71d72efe67d2c7f8f7d6fcb87b8635/mining_fetch_git.sh -O mining_fetch_git.sh
cd /home/tallakt
if [ ! -e ~/mining/README.md ]; then
rm -Rf mining
git clone git@github.com:tallakt/mining.git
fi;
(cd mining; git pull)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment