I create a shell script for run project in a local environment. When running the script I need include if git update also updates my local code with git code before run project.
cd /var/www/html/project && \
git stash && \
git pull && \
git stash apply
There is my try. But problem their when conflict happens no way to change conflict. I need when git stash apply if conflict happen stop a script make way to resolve conflict.