Last active
January 17, 2018 02:11
-
-
Save sunkibaek/7ea5cef7f0d271012093acfe9ac064d1 to your computer and use it in GitHub Desktop.
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
function update-type { | |
cd ~/apps/type | |
git pull | |
export LAST_TYPE_REPO_HASH="`git rev-parse HEAD`" | |
echo $LAST_TYPE_REPO_HASH | |
cd - | |
npm install --save git+ssh://git@github.com/huiseoul/type.git#$LAST_TYPE_REPO_HASH | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment