LoginSignup
0
0

More than 5 years have passed since last update.

macでtfsサーバーのgitリポジトリからgit cloneする準備

Posted at

キーの生成

ssh-keygen -C "example@example.com"

tfsにキーの登録

~/.ssh/id_rsa.pubの内容をtfsに登録する
リポジトリで複製 -> SSH -> SSHキーの管理 -> 追加で登録する。

configを書く

~/.ssh/config
Host hostname
User username
IdentityFile ~/.ssh/id_rsa

git cloneする

git clone ssh://hostname:port/tfs/xxxx

0
0
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
0
0