In the past two weeks I had the following scenario twice:
appflow update works and does the updates, which is fine
appflow decrypt works, so I change a few values
appflow checkin <tenant> <env> <commit-message> seems to work from the messages in terminal, but nothing gets checked in
So naturally I go to cd ~/.appflow/tenant/<tenant-name>/ and see that it has unpushed commits and another user checked in something and I have a ton of merge conflicts after git pull.
Manually fixing it and redoing my work using:
git fetch origin master
git reset --hard origin/master
After this it works again with the commands.
Suggestion
Add better checks to appflow update and better messages if it couldn't push the changes or has merge conflicts for appflow checkin.
In the past two weeks I had the following scenario twice:
appflow updateworks and does the updates, which is fineappflow decryptworks, so I change a few valuesappflow checkin <tenant> <env> <commit-message>seems to work from the messages in terminal, but nothing gets checked inSo naturally I go to
cd ~/.appflow/tenant/<tenant-name>/and see that it has unpushed commits and another user checked in something and I have a ton of merge conflicts aftergit pull.Manually fixing it and redoing my work using:
git fetch origin mastergit reset --hard origin/masterAfter this it works again with the commands.
Suggestion
Add better checks to
appflow updateand better messages if it couldn't push the changes or has merge conflicts forappflow checkin.