Search code examples
eclipseegit

Egit: add, commit and push in one step?


Most of the times I perform the following 3 steps when I have modified a file in eclipse that is under version control using git:

1) Add to index
2) Commit
3) Push

Is it possible when using EGit to perform the 3 above steps in one step inside eclipse? I know the two first steps can be combined:

http://www.vogella.com/blog/2010/12/25/git-alias-add-commit/


Solution

  • This became possible in the new EGit version 2.1. At the bottom of the commit dialog, you can now check the option "Push the changes to upstream".

    See also: EGit 2.1: New and Noteworthy