commit script tweaks
This commit is contained in:
parent
c27f53cd92
commit
76cc098697
20
commit
20
commit
@ -9,8 +9,20 @@ set -eo pipefail
|
||||
|
||||
git checkout dev
|
||||
./sync
|
||||
git add .
|
||||
git commit
|
||||
git push
|
||||
ssh lentilz 'cd ~/code/gravity-dev && git add . && git stash && git pull && git stash apply && npm i'
|
||||
if git diff; then
|
||||
git add .
|
||||
git commit "$@"
|
||||
git push
|
||||
fi
|
||||
ssh lentilz "
|
||||
set -oe pipefail
|
||||
export NVM_DIR=\"\$HOME/.nvm\"
|
||||
[ -s \"\$NVM_DIR/nvm.sh\" ] && \. \"\$NVM_DIR/nvm.sh\" # This loads nvm
|
||||
cd ~/code/gravity-dev
|
||||
git add .
|
||||
git stash
|
||||
git pull
|
||||
git stash apply
|
||||
npm i
|
||||
"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user