webStorm中跳过本地变更更新远程代码

2020/10/12 5:09:41webStormIDE

1,在项目目录上,右键,git->Repositroy->Stash Change... 创建仓库副本。
image.png

任意填写一个标记名称,点击Create Stash按钮。
image.png

2,开始更新同步代码。
git fetch
git pull
git push

3,释放副本。在项目目录上,右键,git->Repositroy->unStash Change...

image.png