This Question is Possibly Answered

1 "correct" answer available (4 pts)
9 Replies Last post: Feb 6, 2013 4:15 PM by Kirill Likhodedov  
Kevin Burton Newbie 52 posts since
Jan 30, 2013
Currently Being Moderated

Feb 2, 2013 9:58 AM

Check out from Version Control

I have two machines. One at home and one at work. The source files that comprise my web project are in a GIT repository that was created when I created the Azure web site which I did from home. Now I would like to fire up WebStorm and pull the files from the GIT repository and work on and possibly deploy from there also. The closest option that I see is 'Check out from Version Control' . When I select that I am presented with some options I select Git. Then I get a dialog asking me for the GIT repository URL. I enter the URL that was listed on the Azure Portal as the 'GIT CLONE URL'. When I enter this the web site is automatically filled in. When I select 'Test' I get a dialog that goes on forever. If I cancel it (after about 5 minutes) I get a message that the connection to the repository failed and the 'Clone' button is disabled. How do I get the files from the GIT repository?

Kirill Likhodedov JetBrains 238 posts since
Jun 11, 2010
Currently Being Moderated
Feb 4, 2013 2:49 PM in response to: Kevin Burton
Re: Check out from Version Control

Does it help if you clone without pressing "Test"?

Kirill Likhodedov JetBrains 238 posts since
Jun 11, 2010
Currently Being Moderated
Feb 4, 2013 7:52 PM in response to: Kevin Burton
Re: Check out from Version Control

It is actually the same password (passphrase to access your private key or password to the resource). It is queried both by Clone and Test because of a bug, which was fixed recently.

Kirill Likhodedov JetBrains 238 posts since
Jun 11, 2010
Currently Being Moderated
Feb 5, 2013 1:58 PM in response to: Kevin Burton
Re: Check out from Version Control

Does git push work from the command line?

Could you please share your .git/config file?

 

By the way I checked for updates and I apparently have the latest version as no updates are available. When will this bug fix be available?

The fix will be available in WebStorm 6.0.

Kirill Likhodedov JetBrains 238 posts since
Jun 11, 2010
Currently Being Moderated
Feb 5, 2013 9:26 PM in response to: Kevin Burton
Re: Check out from Version Control

The rest of the commands are staight from GIT as I am not sure how to do them from WebStorm.

 

git status

git push azure master

 

Status of files can be seen in the Changes tool window. It is calculated automatically, but you can force the refresh.

 

Push can be invoked via VCS | Git | Push (sorry for being obvious).

 

Why do you push the "azure" remote? As stated in the .git/config, the remote name is "origin" (which is default name). The error correctly mentions, that there is no "azure" remote defined in .git/config.

Kirill Likhodedov JetBrains 238 posts since
Jun 11, 2010
Currently Being Moderated
Feb 6, 2013 4:15 PM in response to: Kevin Burton
Re: Check out from Version Control

I would recommend you to carefully follow the instructions you refer to, from the very beginning, and perform all the steps as written there in the command line (because CLI is mentioned in the steps).

Once you set it up in the command line, you may switch to the IDE and check if everything works there.

More Like This

  • Retrieving data ...