选中项目根目录右键点击git -> repository ->pull
git -> repository ->pull
在idea底部git菜单中查看,右键show diff则可查看拉取的代码变动
传送门:git diff命令