是否可以在显式保存PHP / WebStorm上创建一个git补丁

时间:2017-06-12 15:46:40

标签: git intellij-idea phpstorm webstorm

我经常需要在很少的PC上开发,但是当更改尚未准备好提交时 - 我只需创建一个补丁并将其保存到Dropbox,以便有机会从其他位置完成。

是否可以在PHP / WebStorm上显式保存时创建补丁? 通过当前更改列表的名称或以某种默认方式?

由于

1 个答案:

答案 0 :(得分:1)

You could just create a new branch and push that branch. Later if you finished your work you squash merge it or merge your commits interactive and merge --ff-only that :-)

Lookup the man pages for git merge --squash, git rebase --interactive and git merge --ff-only.

相关问题