I have scripts which run some git commands and try to push changes. Those changes are not conflicting changes, since each one works with a different file.
Now what is happening is that when one script pulls and tries to push. in that brief moment if history changes, it is not able to push.
How to make sure that if push fails? it rebases or just patches the code changes?
I dont want to force push since that will rewrite the history and i will lose changes.
Note: these all are working on the same branch.