I am trying to use Bitbucket with IntelliJ IDEA Community Edition.
Already have a Git repository on your computer? Let's push it up to Bitbucket.
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
"git" is not recognized as an internal or external command
The terminal tool window is just a terminal emulator for a command shell. In case of Windows that shell defaults to cmd, which is completely independent of the IDE settings. So in order for that to work you must have git in
PATH environment variable.
You can do it this way:
;C:\Program Files (x86)\Git\bin
This works on Windows 8.1. It might be a little different on older versions of Window. Just in case here is a link which covers this procedure on more Windows versions.
Or you could set Git Bash as the shell for the Terminal tool window. Personally I prefer this approach on Windows computers. You can do it by going into Settings/Terminal and setting Shell path to something like
"C:\Program Files (x86)\Git\bin\sh.exe" --login -i (this might be different on your computer).