在Coding.net部署演示网站
访问仓库
访问仓库: https方式: https://git.coding.net/xxxxxx/yyyyyy.git ssh方式: [email protected]:xxxxxx/yyyyyy.git |
git和推送项目
cd /opt/workSpace1 root@cathy:/opt/workSpace1# git clone [email protected]:xxxxxxx/yyyyyyy.git yyyyyyy 正克隆到 'yyyyyyy'... remote: Counting objects: 6, done. remote: Compressing objects: 100% (4/4), done. remote: Total 6 (delta 0), reused 0 (delta 0) 接收对象中: 100% (6/6), done. 检查连接... 完成。 后面是正常的 git add rm mv comit git commit -m "commit once" git push -u origin master …… 这些操作 |
ssh公钥
1. 生成公钥 # ssh-keygen -t rsa -b 4096 -C "[email protected]" |