Spaces:
Sleeping
Sleeping
File size: 393 Bytes
fb4e2c7 ddaa220 fb4e2c7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
#!/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 ) |