Question

My Sytem setup is

  1. Windows 7 64-bit
  2. IntelliJ IDEA EAP 12 version 122.639
  3. Java 1.6
  4. I am a non Admin user.

I have an android project which I want to keep under version control on Bitbucket. I have tried to use the builtin VCS in IntelliJ IDEA to create git/mercurial but for both of them I get the error about hg.exe / git.cmd not found.

FYI, I have to checkout stuff from GitHub and it worked without problems. I also have the BitBucket plugin installed.

How do I use inbuilt VCS in IntelliJ IDEA to create git/Mercurial repo for my local projects and save them on my Bitbucket account.

EDIT @crazycoder

I have installed msysgit as you advised and here is the git path config screen as requested by you. Git Path Config

Was it helpful?

Solution

IntelliJ IDEA doesn't bundle Git/Mercurial version control systems, it provides the integration, but the tools need to be installed separately.

See also the related questions:

OTHER TIPS

Not sure. But I would seriously consider installing MSysGit and using the command line instead. You get history tracking which is as-you-type searchable with ctrl-R, allowing you to see what you did a couple of days ago to make that rebase work, etc. Other benefits are tab-completion for branch and path, command piping and easier assistance with problems as it is pure git and you'll get way more help with it than you will with intelliJ's git implementation/integration.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top