While merging my branch code with master, I was having merge conflicts and most of them got resolved but I'm unable to resolve merge conflicts on few files as I'm unable to accept the changes or stage them.
In Sourcetree, whenever I try to resolve the conflicts using 'theirs', I get the error - 'Cannot update one or more files, please check that no other application is locking your files' whereas, when I try to resolve conflicts using 'mine', it does not show this error and neither does it do anything and the merge conflict still remains. Not really sure as to why I'm not able to merge the files. Any suggestions/help would be appreciated.

Also, when I try to Merge or Sync from Bitbucket repository using Sync Now or Merge buttons, no action gets performed but I get the below mentioned error on console.
