美文网首页
Git Basic

Git Basic

作者: zjunchao | 来源:发表于2016-07-15 17:00 被阅读27次

A simple command-line tutorial:

Git global settings:

git config --global user.name "zjcdxzy"
git config --global user.email "709331891@qq.com"

Create git repository:

mkdir MWeb
cd MWeb
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://git.oschina.net/zjcdxzy/MWeb.git
git push -u origin master

Existing project?

cd existing_git_repo
git remote add origin https://git.oschina.net/zjcdxzy/MWeb.git
git push -u origin master

相关文章

  • 常用的Git指令

    Git 命令https://www.runoob.com/git/git-basic-operations.htm...

  • git基本使用命令

    (git下载地址) Git学习地址 http://www.yiibai.com/git/git_basic_con...

  • Windows git remote: HTTP Basic:

    1 问题描述: git push/ git fetch/ git pull,报 HTTP Basic: Acces...

  • Git

    Git Local Install Git Basic Skills Check Time Travel Remo...

  • git常用操作

    Basic Operation 分支管理切换分支git checkout git checkout -b #...

  • git使用中各类问题汇总

    git 报 HTTP Basic: Access denied 今天pull代码发现git 报错: git rem...

  • Git 记录

    参考: https://www.yiibai.com/git/git_basic_concepts.html 零零...

  • 入门级文章足够

    http://www.runoob.com/git/git-basic-operations.html https...

  • Git basic

    clone the project go into/return back the project list th...

  • GIt Basic

    ssh-keygen 在本地电脑中中生成钥匙 打开公钥id-rsa.pub ,将公钥copy到git网站的SSH ...

网友评论

      本文标题:Git Basic

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