Spaces:
Sleeping
Sleeping
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 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 ) |