Kokoro-API-3 / dist.sh
yaron123's picture
commit
ddaa220
raw
history blame
393 Bytes
#!/bin/bash
conflicts () {
read -n 1 -p "Please fix the conflicts, then, press any key to continue" tmp
git add --all .
git rebase --continue || conflicts
}
git lfs update --force
git lfs install
git fetch
git checkout
git add --all .
git commit -m "commit"
( git rebase ) || (
conflicts
)
( git push ) && ( read -n 1 -p "Finished." tmp ) || ( read -n 1 -p "Error: Failed to push!" tmp )