• how to share code with gitee?


    1

    2

     3

     4

    Successfully created project 'gmall-publisher-test' on Gitee, but initial commit failed: Author identity unknown ***

    Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "

    Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. unable to auto-detect email address (got

    是git没有配置的原因,找到git安装目录下的Git Bash运行后输入下面两行代码即可:

    git config --global user.name "GitHub账号"

    git config --global user.email "GitHub账号注册的邮箱"

     

    简易的命令行入门教程:

    Git 全局设置:

    git config --global user.name "c675"
    git config --global user.email "1779162812@qq.com"

    创建 git 仓库:

    mkdir app4
    cd app4
    git init 
    touch README.md
    git add README.md
    git commit -m "first commit"
    git remote add origin https://gitee.com/chang0675/app4.git
    git push -u origin "master"

    已有仓库?

    cd existing_git_repo
    git remote add origin https://gitee.com/chang0675/app4.git
    git push -u origin "master"


     
  • 相关阅读:
    LNAP安装
    一些不错的资源网站
    转 Android智能手机上捕获数据包
    git命令
    IDEA for Mac 解决控制台乱码问题
    mac上安装port
    Linux
    VIM 技巧 (二)查找与替换
    VIM 技巧 (一)全文统一添加
    Java 查询URL对应IP地址
  • 原文地址:https://www.cnblogs.com/chang09/p/16167050.html
Copyright © 2020-2023  润新知