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

    下面给出截图

    站在巨人的肩膀上,你会看得更远。
  • 相关阅读:
    打开网页总结
    学期总结
    总结
    Sprint3
    Sprint2团队贡献分
    6.14
    典型用户与场景
    5种创建型模式
    JAVA 将接口的引用指向实现类的对象
    Java里的接口
  • 原文地址:https://www.cnblogs.com/JohnGene-Blog/p/5086257.html
Copyright © 2011-2022 走看看