A couple git questions from a brand new PhpStorm user

I just started using PhpStorm today, and after playing around for a while I have a couple questions. These are going to seem like basic questions (which they are), but given the keywords around them I've had a difficult time finding the answers.

  1. Say my local master repo is an exact clone of the remote/primary master repo. I make some changes locally, add them, and commit them. Since everything's commited nothing shows up in "Changes", but I'm wondering how I would go about seeing the status between the local and remote versions? In essence, how do I get the output from "git status" in PhpStorm? (specifically the "Your branch is ahead of X by X commits" info).

  2. Is there any sort of a console in PhpStorm that will allow me to type git commands, or is using git bash a must? I noticed there's a database console that allows input (which is going to save me so much time!), but the version control console seems to be just output, you can't type anything. My git bash is incredibly unresponsive, and if I'm going to 'commit' (heh, see what I did there?) to PhpStorm, I would like to commit entirely and just do everything through the UI if possible. I just can't get away from the command line entirely though, so if this feature doesn't exist I guess I'll just have to figure out a way to speed up my git bash.

Any help would be greatly appreciated!
Comment actions Permalink

The Log tab in the Changes window will show you the status of your branch.


To do Git from the command line, configure the Command Line Tool Support:


And then run it from the Command Line Tools Console (mine is CTRL+SHIFT+X):


Comment actions Permalink

Thank you so much, I really appreciate it! And the screenshots were a nice touch!

I can't believe I went this long without trying PhpStorm, it's going to change my life.


Please sign in to leave a comment.