IntelliJ 支持 git stashes 以及它自己内置的 shelve 命令。这些在目的和效用上似乎几乎相同。它们之间有什么区别?
Best Answer-推荐答案 strong>
来自 IntelliJ documentation :
In the Git integration, in addition to shelving and unshelving, "stashing" and "unstashing" are supported respectively. These features have much in common, the only difference is in the way patches are generated and applied.
- Patches with stashed changes are generated by Git itself. To apply them later, you do not need IntelliJ IDEA.
- Patches with shelved changes are generated by IntelliJ IDEA. Normally, they are also applied through the IDE. Applying shelved changes outside IntelliJ IDEA is also possible but requires additional steps.
关于git - IntelliJ 的 Shelve 和 Git stash 有什么区别?,我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/32982204/
|