美文网首页
GitHub上传资源

GitHub上传资源

作者: Infinite_eyes | 来源:发表于2017-02-10 22:34 被阅读53次

下载

资源首页点击下载GItHub客户端 选择下载

下载完成后会多出 C:\Users\username\AppData\Local\GitHub 文件夹

1 、图形界面上传

运行客户端登陆 创建repositories 增加文件 提交到分支 提交到github

2、命令行形式上传

  命令行可以是git shell 或者git bash


  git config --global user.name "user_nam"   #配置用户名 
  git config --global user.email "email"     #配置邮箱

  cd  D:\study\codeforcesproblem\problem     #进入资源目录

  git init                  #生成.git 文件

  touch  test.txt           #命令行生成测试文本

  git status                #查看文件状态

  git add test.txt          #跟踪文件并暂存

  git commit -m 'frist commit' #设置提交名称

  git remote add origin https://github.com/...  #添加远程仓库 

  git push -u origin master              #提交到远程仓库

相关文章

  • GitHub上传资源

    下载 下载完成后会多出 C:\Users\username\AppData\Local\GitHub 文件夹 ...

  • Android指纹识别,兼容6.0以上所有版本,包括9.0适配

    本资源库已上传至github,可直接用build.gradle添加依赖,链接如下:https://github.c...

  • GitHub 上传项目

    上传方式有2种: GitHub Desktop上传 终端上传 一、GitHub Desktop上传 下载GitHu...

  • Unity AssetStore如何发布资源,并盈利?

    注册帐号 上传工具 制作资源 上传资源 发布资源

  • github上传

    设置SSH key 输入以下指令,双引号里填写你的邮箱地址 生成过程中一路按3次回车键就好了,如果之前生成过了,会...

  • github上传

    前提 首先需要一个github账号,进入官网注册:https://github.com/我们使用git需要先安装g...

  • github上传

    步骤: 1、安装git 2、如果使用gitHub,需要注册一个gitHub账号(注意:其中注册完成后需要在邮箱上进...

  • github上传

    在很久以前,linux是一个开源的项目,linux为了存储linux代码开发者贡献的代码,开发一个平台就是GitH...

  • 上传github

    一、上传代码忽略node_modules 二、上传代码 方式一: github 新建仓库新建仓库 生成的仓库地址....

  • golang七牛云操作

    传送门 上传文件到七牛云对象存储(github.com/qiniu/api.v7) Go实战--golang资源管...

网友评论

      本文标题:GitHub上传资源

      本文链接:https://www.haomeiwen.com/subject/yhenittx.html