Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Explicit and safe git pull in Intellij IDEA

Is it possible to do "git pull" safely in Intellij IDEA 9?

Now I am using Git -> Pull Changes... and then I have to select branch explicitly - this is source of error if I pull from not current branch by error. This is completely unsafe. I wonder if there is a safer way to do "git pull" in IDEA through standard UI.

Use git pull in command line is not a good option, because we have IDE to increase productivity and convenience and part of functions is already implemented well for git.

Another major case is when you want to pull changes from tracking branch. For example your have created newfeature branch from master on local master and want to update it from master.

like image 908
Vladimir Avatar asked Sep 23 '10 07:09

Vladimir


1 Answers

Vladimir, you may use the Update Project action. It performs git pull for the tracked branch.

like image 135
LoKi Avatar answered Oct 16 '22 18:10

LoKi