My project use sourcetree to push and pull commits from a git repository. When I pull a remote commit, I meet an error message like this: Your local changes to the following files would be overwritten by merge, Please commit your changes or stash them before you merge.
I use Sourcetree to manage my example project source files on windows 10, and it uses a git version control system. But when I commit or merge my project files, it shows a Filename too long error. After investigating, I finally find the method to fix it.