I am trying to merge branch p-jira-fix changes into branch p-main changes. Branch p-jira-fix has renamed one file from UserBase to EntityBase and somehow when I am running the git commit command, I am facing the following error regarding that file :
Merge command I started with :
git checkout p-main
git pull origin p-jira-fix
cp: app/yyy/src/main/java/com/xxx/ces/domain/UserBase.java: No such file or directory
Couldn't save backup of app/yyy/src/main/java/com/xxx/ces/domain/UserBase.java
I could not find this exact error on sof or git related posts. Has anyone faced this OR resolved it?