Add remote git origin

I'm using bitbucket for git hosting. This is the process I use to setup a project and push it to Bitbucket. Is there a better way, say all inside phpstorm? Am I able to add the remote host insde phpstorm7? My projects involve bootstrap so I have custom projects setup, I create theproject and it imports all the inital files I need.


Create Repo on Bitbucket

Create project in PhpStorm

-VCS: Import into version control: Create Git Repository

-Highlight all files in project

-VCS: Git: Add to VCS

-VCS: Commit Changes

Open GitBash

cd c:\projects\<name>

git remote add origin ssh://git@bitbucket.org/username/repo-name.git

Back to PHPStorm
VCS: Git: Push

Please sign in to leave a comment.