ubuntu 使用 vscode git
2017-10-16 本文已影响0人
暮隼
安装git支持
sudo apt-get install git
设置自己的sshkey
ssh-keygen -t rsa -b 4096 -C "your@mail.com"
# 命令会在~/.ssh/目录下生成两个文件,取.pub文件内容设置到coding上
cat ~/.ssh/id_rsa.pub
ssh key配置祥见coding帮助
继续代码管理
cd /data/app/php/
git clone git@git.coding.net:coding/test.git test.com
vscode 打开目录即可开始骚~