■前提 ・gitlabサーバー ・gitlabにプロジェクト作成済み(例:testprojectとする) ・sourcetreeインストール済み ■手順 1)gitlabのプロジェクトのGIT URLを取得、sourcetreeに新しいプロジェクトでクローンする 例) GIT URL: git@192.168.1.xxx:gitlab_username/testproject.git SSHキーをgitlabに貼り付ける ・SourceTreeメニューから Tools/Launch SSH Agentを選ぶ ・Pass Phraseを入力し、Generate Keyを選ぶ ・再生されたSSH KeyをGitlabのProfile Settings/SSH Keyに貼り付ける ・Launch SSH Agent画面のメニューからSSH KeyをExportする ・SourceTreeのToo
