Partial git commit from eclipse (egit)
Say I have a file with 2 changes. How do I use egit to commit only one of them?
The command line version can be found in this question.
You can also follow "Git Partial Staging in Eclipse"
From the staging view, double-click on the file. A compare dialog will appear.
You can now copy changes from the left to the right, effectively staging parts of your file. In this case I will stage the correction to the method name.
链接地址: http://www.djcxy.com/p/4184.html上一篇: 按块应用提交块