首页 技术 正文
技术 2022年11月8日
0 收藏 319 点赞 1,780 浏览 627 个字

github菜鸟入门教程

闲来无事,研究了下github的玩法,完毕总结:简单好玩,上档次!

一、首先注册github的账号

二、下载安装git

三、新建仓库

  1、点击右上方的+号选择首项新建仓库

  github菜鸟入门

  2、根据箭头显示,分别为仓库取名,初始化说明文档,正式创建仓库

  github菜鸟入门

四、上传文件到仓库

  1、进入一个文件夹目录,右键点击,选择git bash,跳出git命令工具

  github菜鸟入门

  2、克隆github上的仓库文件

    1) 复制你仓库的地址

  github菜鸟入门

    2) 输入命令行:git clone https://github.com/ZhanYishu/new-respository.git

      执行完后便克隆了你的项目仓库new-responsitory

    github菜鸟入门

    3)添加你需要上传的文件到new-responsitory文件中

    github菜鸟入门

    4) 进入到当前仓库文件夹

    输入命令: cd new-responsitory

    进入后输入命令: git add .

    5) 提交上传文件

      输入命令: git commit -m ‘add my-first-upload-file'(两点之间的是你上传文件的说明)

    6)正式push到github上

     输入命令: git push origin master

     输入完后会要你输入github上的用户名和密码, 正确输入后并完成了文件上传

     github菜鸟入门

至此,便完成了简单的文件上传至github       

  

  

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,156
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,624
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,468
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,240
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,876
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:5,043