赞
踩
新手怎么在GitHub上传、更新和删除代码仓库?
网址: https://github.com/
网址: https://git-for-windows.github.io
进入Github个人主页后后第一步点击Repositories,第二步点击New创建一个新的代码仓库:
Repository name: 仓库名称
Description(可选): 仓库描述
Public, Private : 仓库权限
Initialize this repository with a README: 使用自述文件初始化此仓库
Git工具中粘贴用“Shift+Insert”
git clone 复制的地址
例如:git clone https://github.com/XXXXXX/panorama.git
例如:test1,test2
第一次推送可能需要绑定邮箱(报错如下:)
Run git config --global user.email "you@example.com"git config --global user.name “Your Name”
此时需要配置邮箱和姓名即可:
分别输入命令:
git config --global user.email "邮箱号"
git config --global user.name "姓名"
绑定完成
然后在输入标题命令
git commit -m “备注”
最后,小伙伴们想要上传的项目或者库就已经成功上传了!
从标题一的第4步重新开始上传新代码即可更新
最后,小伙伴们想要删除的项目或者库就已经成功删除了!
文章到这里就先结束了,希望能帮助到各位大佬。如果文章有需要改进的地方还请大佬斧正
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。