LoginSignup
3
5

More than 5 years have passed since last update.

PhpStorm(on Windows10) 基本設定メモ(3) - SVN/Git設定

Last updated at Posted at 2016-08-28

$tan^2x$番煎じのメモ
SVN/Git設定
(※2016/08/28時点)

software version
PhpStorm v2016.02
Subversion Command line tools 1.9.4

SVN設定

SVNコマンドラインクライアント install

Subversion Command line tools

zipファイルの中身を例えば下記に設置

C:\Program Files\Apache-Subversion-1.9.4

PhpStorm Setting

ツールバーの File > Setting

Version Control > Subversion > General

Use command line client: C:\Program Files\Apache-Subversion-1.9.4\bin\svn.exe

リポジトリ追加

ツールバーのVCS > Import into Version Control > Import into subversion...

リポジトリを追加

使ってみる

ツールバーのVCS > Checkout from Version Control > Subversion
追加したリポジトリを選択してチェックアウト

Git設定

Git for windows install

Git for windows

exeファイルを実行

※Git設定は省略

PhpStorm Setting

ツールバーのFile > Setting

Version Control > Git

インストールしたgit.exeを指定

Path to Git executable: C:\Program Files\Git\cmd\git.exe

秘密鍵の設置

%USER_HOME%/.ssh/id_rsa(任意)

PhpStormは%USER_HOME%/.sshを利用する。

既存の鍵があれば、.ssh以下に設置。
鍵がなければputtygen等を利用してOpenSSH形式の鍵を作成し、リポジトリ側(GitHub等)に公開鍵を設定。

%USER_HOME%/.ssh/config

Host (任意の名前)
HostName (ドメイン名)
User (ユーザ名)
IdentityFile ~/.ssh/(任意の鍵名)

使ってみる

ツールバーのVCS > Checkout from Version Control > Git
追加したリポジトリを選択してclone

3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5