Pushing single git commits
已回答
The push dialog seems to push every commit that hasn't been pushed yet. Is there any way to only push a single commit instead?
Let's assume I have two commits, both of them have not been pushed to origin. Now I want to push the first one to a remote master. What I want is the equivalent to
git push origin HEAD~1:master
I would have expected to find this feature somewhere within "Version Control -> Log", but so far I haven't found a way to do this.
请先登录再写评论。
No, it is not possible - vote for https://youtrack.jetbrains.com/issue/IDEA-154596