美文网首页
Git tutorial

Git tutorial

作者: a11en0 | 来源:发表于2018-06-10 21:16 被阅读0次
  • 本地创建 SSH key

$ ssh-keygen -t rsa -C "你的GitHub注册邮箱"

  • 验证是否连接成功

$ ssh -T git@github.com

  • 设置Username和Email

$ git config --global user.name "your name"
$ git config --global user.email "your_email@youremail.com"

  • 初始化目录

$ git init

  • 添加文件

$ git add .

  • 提交至本地暂存区

git commit -m "first commit"

  • 指定远程上传地址

git remote add origin https://github.com/用户名/Git仓库名称.git

  • 推送至github

git push -u origin master

相关文章

  • Git Basic

    A simple command-line tutorial: Git global settings: git ...

  • Git Tutorial

    Overview git concepts handson demo workflow Git Concept K...

  • Git tutorial

    本地创建 SSH key $ ssh-keygen -t rsa -C "你的GitHub注册邮箱" 验证是否连接...

  • [Git] Tutorial

    廖雪峰 Git教程 读书笔记 在Windows上安装Git 只需要下载一个单独的exe安装程序,msysgit,是...

  • 【Git】Tutorial

    Git 和Github 1. Git是什么 最出色的版本控制库,所谓版本控制,即不断修改项目文件的过程中随时可以回...

  • [git] merging 和 rebasing 的区别是什么?

    来源:Atlassian Git Tutorial 概念 git rebase 与 git merge 目的一样,...

  • android studio git

    转载Android Studio Git Tutorial (Part 1) 安装Git for Windows....

  • WEB-03 GitHub

    两个文档: git documentation atlassian git tutorial Centralise...

  • 持续集成CI与gitlab

    https://www.runoob.com/git/git-tutorial.html[https://www....

  • Use Git and GitHub

    Thanks Bucky for his awesome git tutorial!! ---> thenewbo...

网友评论

      本文标题:Git tutorial

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