views:

47

answers:

1

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.

A: 

I'd recommend to use an external Git client for such tasks and the internal one for compare or commit tasks.

mklhmnn
@mklhmnn, command line or external git client is not an option because Intellij IDEA is considered to have a set of all important daily features for git.
Vladimir
You can download the source code of IDEA and do the necessary changes yourself to make its Git integration "right". If the Jetbrains people think it is worth to apply your patch, then they will do it.
mklhmnn
I posted this question to JetBrains - will wait to hear from them.
Vladimir