Giter Site home page Giter Site logo

test2's Introduction

首次提交,测试使用命令行上传代码

 1.git config --global user.name "ymyy32"
 2.git config --global user.email "[email protected]"
 3.git init //初始化了一个本地仓库
 4.在终端中添加文件到远程仓库, 设置一个ignore文件忽略掉不需要上传的文件
 5.git add .
 6.git commit -m "first commit"
 7.git remote add origin https://github.com/ymyy32/test2.git
 8.git push -u origin master
 //发生错误 git pull --rebase origin master
//远程库与本地库不一致造成的,该命令的意思是把远程库中的更新合并到(pull=fetch+merge)
//本地库中,–-rebase的作用是取消掉本地库中刚刚的commit,并把他们接到更新后的版本库之中。
 提交完成
 测试修改提交

test2's People

Contributors

ymyy32 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.