目录

  • 1、在gitHub创建一个仓库

@(将本地的代码提交到github仓库)

1、在gitHub创建一个仓库

New repository

输入仓库项目名称 点击create repository

然后在使用终端打开本地项目

➜  proxytest git init
Initialized empty Git repository in /Users/maggiehao/IdeaProjects/proxytest/.git/
➜  proxytest git:(master) ✗ git add -A
➜  proxytest git:(master) ✗ git pull
➜  proxytest git:(master) ✗ git commit -m "proxy test"
➜  proxytest git:(master) ✗ git remote add origin   https://github.com/MaggieWell/proxyTest.git
➜  proxytest git:(master) ✗ git push -u origin master

转载于:https://www.cnblogs.com/mengjie1001/p/10933598.html

将本地的代码提交到github仓库相关推荐

  1. 将代码提交到github上

    如何将代码提交到github上 1.首先你要有一个自己的github账号 2.找到Repositories 3.点进去,然后找到绿色按钮New点击 4.给自己的文件起名字,可以选择public或者pr ...

  2. android将代码提交到github,[Android Studio使用][将AS上的代码提交到github]

    1.落笔缘由 之前断断续续都有在AS上传代码到github上,但是每次都忘了传的步骤,然后又是上网搜索"将AS上的代码提交到github".好蛋疼,记忆力太差了,所以做个比较记录一 ...

  3. 通过 Git 将代码提交到 GitHub(上)

    1 前言 在「利用 SSH 完成 Git 与 GitHub 的绑定」一文中,我们完成了本地 Git 与远程 GitHub 的绑定,这意味着我们已经可以通过 Git 向 GitHub 提交代码啦!但是在 ...

  4. Git使用及创建本地文件推送到github仓库

    Git使用 一.安装Git 一般我们工作的电脑都是Windows系统,要使用git首先要进行安装.从软件管家或者其他平台找到git的安装包,下载后默认安装即可. 安装成功之后,可以在开始菜单里面找到g ...

  5. git 命令之本地的代码托管到git仓库

    一直在本地写一个demo项目,想用git命令托管到自己的git远程仓库上去,平时习惯用source tree,但是source tree的账号目前用的是公司的另外一个账户,暂时不想切换.所以琢磨着用g ...

  6. 【转】PhpStorm 提交代码到远程GitHub仓库

    转载地址:http://my.oschina.net/lujianing/blog/180728 1.下载github for window http://windows.github.com/ 2. ...

  7. Intellij IDEA 提交代码到远程GitHub仓库

    2019独角兽企业重金招聘Python工程师标准>>> 1.下载github for window http://windows.github.com/ 2.设置相关绑定 Setti ...

  8. 本地git首次连接远程github仓库

    github.com 个人中心创建远程仓库Repository 本地创建文件夹作为git仓库,在文件夹内打开git bash脚本程序执行git init命令 依次执行git pull <orig ...

  9. 使用git将代码提交到github

    第一次代码提交 1.在github新建一个空白仓库 2.进入项目的文件夹打开git 命令端 右键选择git Bash here 3. git init #初始化 4. git remote add o ...

  10. git同步代码到远程github仓库

    原文地址: http://www.runoob.com/git/git-remote-repo.html Git 远程仓库(Github) Git 并不像 SVN 那样有个中心服务器. 目前我们使用到 ...

最新文章

  1. 【刷算法】整数中1出现的次数(从1到n整数中1出现的次数)
  2. tomcat上传war包失败
  3. MCS-51单片机的指令时序
  4. CodeForces - 501C Misha and Forest(拓扑排序)
  5. IOS 实现TXT文本自动识别编码的方法
  6. sql distinct 去重复 (mysql)
  7. 技术检验检测管理系统之样品检验模块概况(四)
  8. 如何做跟进客户关系维护PPT课件?
  9. Servlet和Servlet容器概念
  10. Ingress暴露服务的方式
  11. Caused by: java.io.IOException: The temporary upload location [......] is not valid
  12. 纺织企业举步维艰,小微纺织企业该如何做?
  13. 沈航数值统计-16-17A+B
  14. 【iOS】AVPlayer 视频播放
  15. 特殊字符编码格式数据库不支持
  16. [MODIS数据处理#2]常用的Arcmap内置工具(一)
  17. 关于信息论中熵、相对熵、条件熵、互信息、典型集的一些思考
  18. JAVA中阻塞队列的类别和区别(转载)
  19. PyCharm新建脚本开头模板设置
  20. SQL数据库编写及示例

热门文章

  1. gcc is unable to create an executable file.
  2. LINUX下载编译nasm
  3. 员工说不用兼容老文件,当主管的就信了?
  4. 无法定位软件包python-pip
  5. 最近两个星期,机器经常卡死,难道是内存用光了?
  6. 下载mp4v2代码的链接
  7. LINUX获得毫秒时间戳的代码
  8. SmartSVN无法提交的解决办法:because it was moved from which is not part of the commit; both sides of the move
  9. 解决Android Studio不停的Indexing的问题
  10. python中button中command_tkinter模块的button控件不点击也运行command