Git command not recognized in terminal tool window in IntelliJ IDEA

I am trying to use Bitbucket with the IntelliJ IDEA Community Edition.

  • I went to the file → Settings ... → Plugins and installed the Bitbucket plugin. Git integration plugin is already included.

  • I went to the file → Settings ... → Other settings → Bitbucket and logged in.

  • I installed Git -1.9.5-preview20141217.

  • I went to File -> Settings ... -> Version Control -> Git and installed Path on Git executable file C: \ Program Files (x86) \ Git \ bin \ git.exe. Testing will find it.

  • I activated it all under VCS. I saw a successful message.

Then I created the repository in the team. Now I have to make the first commit, right?

Already have a Git repository on your computer? Let him push him to the beat bag.

cd /path/to/my/repo
git remote add origin https://Francesco_Menzani@bitbucket.org/sphx/s.git
git push -u origin --all # pushes up the repo and its refs for the first time
git push -u origin --tags # pushes up any tags

I opened View -> Tool Windows -> Terminal.

"git"

+4
1

- . Windows cmd, IDE. , , git PATH.

:

  • //
  • PATH Edit
  • : ;C:\Program Files (x86)\Git\bin
    • , PATH
    • git bin

Windows 8.1. Window . Windows.

git Bash . Windows. , "/" Shell - "C:\Program Files (x86)\Git\bin\sh.exe" --login -i ( ).

+2

Source: https://habr.com/ru/post/1569219/


All Articles