我如何指定 GIT pull 必须忽略一些未提交的本地更改?

How can I specify that a GIT pull have to ignore some not committed local changes?

从 GIT 存储库中提取我收到此错误消息:

$ git pull
remote: Counting objects: 19, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 19 (delta 5), reused 0 (delta 0)
Unpacking objects: 100% (19/19), done.
From https://bitbucket.org/xxx/my-project
   4910263..fd2a59b  master     -> origin/master
error: Your local changes to the following files would be overwritten by merge:
        my-project/src/main/synapse-config/api/xxxTest.xml
Please commit your changes or stash them before you merge.
Aborting
Updating 4910263..fd2a59b

我认为这取决于我的本地版本有一些未提交的小改动。我怎么能告诉 git 忽略我的本地更改并从远程存储库中获取所有内容?

按照 git 的要求将它们藏起来,拉动然后藏起来。