zoukankan      html  css  js  c++  java
  • Git帮助之初始化项目设置向导

    初始化项目设置向导

    Git设置:

    git config --global user.name "Your Name Here"

    # 设置Git提交时的默认用户名,推荐使用本站用户名:JohnGene


    git config --global user.email "your_email@example.com"

    # 设置Git提交时的默认邮箱,推荐使用本站注册邮箱:*******@qq.com

    初始化为仅包含空README.MD文件的空项目:

    touch README.md

    git init

    git add README.md

    git commit -m "first commit"

    git remote add origin git@code.csdn.net:JohnGene/shapegame.git

    git push -u origin master

    用已经存在的项目初始化项目:

    git remote add origin git@code.csdn.net:JohnGene/shapegame.git

    git push -u origin master

    下面给出截图

    站在巨人的肩膀上,你会看得更远。
  • 相关阅读:
    使用wget -i下载多个文件
    linux安装LNMP的资源
    mysql优化
    npm
    文件上传
    box-shadow
    进程和线程
    String
    JavaScript 目录
    replace
  • 原文地址:https://www.cnblogs.com/JohnGene-Blog/p/5086257.html
Copyright © 2011-2022 走看看