准备:(1) git 软件 https://git-scm.com/
(2) 码云账号 http://git.oschina.net/
在码云上添加公钥:https://git.oschina.net/profile/sshkeys
以下是cmd 具体运行截图
ssh-keygen –t rsa –b 4096 –C “licongcong”
具体;SHA256: kwF……..
Git clone ……
cd licongcong 打开licongcong文件夹
git status
git status 列出分支
git add 文件名
Git add 文件名之后 git status 列出文件列表分支
提交到本地
设置user.email
User.name
设置user.email
提交到本地文件夹 add_setup 将暂存的文件提交到git仓库
从git云端拉到本地
向远程分支推送数据
推送成功
以上是git 上传项目到码云的具体步骤截图,分享给大家,相互促进,互相学习!
QQ: 1099749430
聪聪工作室—原创