Can I Pull, Commit and Push all in one workflow in EGit?

Is it possible to pull before commit and then push the commit to the remote branch in one workflow rather than navigate to:

  • Team> Pull
  • Command> Commit ...
  • Lock and push

or

  • Command> Commit
  • Team> Pull
  • Command> Push to Upstream

?

+3


source to share


2 answers


The closest I could get to was inclusion in General / Keys and binding:

  • The Commit: Shift+ Command+1
  • Push to Upstream: Shift+ Command+2
  • Pull: Shift+ Command+5


ShiftThe + Command+ 3and Shift+ Command+ are 4reserved for screenshots on OS X, so I skipped them.

0


source


If you have changes in your location that you want to push to Upstream, it is better to Add files to the Commit index, then pull on the changes from the remote and Push the changes on the remote



Chances are that if you have uncommitted changes and make a pull request, the changes might be lost.

0


source







All Articles