GithubHelp home page GithubHelp logo

ffx666 / how_to_import_project_to_github Goto Github PK

View Code? Open in Web Editor NEW

This project forked from by365404/how_to_import_project_to_github

0.0 0.0 0.0 5 MB

把自己本地的项目上传到github的教程

how_to_import_project_to_github's Introduction

Import_Project_To_Github

如何把新建的项目上传到github(注: 此教程是基于已有github账号,pc端安装了git,如没有安装git,请自行网上搜索安装)

第一步:打开Github网站:https://github.com/ 登录自己的账号。

第二步:点击Your profile,进入仓库管理:

点击 New 按钮, 新建一个仓库,然后输入仓库名称,描述等等

仓库创建成功后, 我们利用https的方式来进行上传代码

在你要上传的项目文件夹根目录鼠标右键,点击“Git Bash Here”,打开git命令行

然后输入“git init”,使项目文件夹加入git管理

接着输入 git add . (注: 后面有个点 .)

接着输入 输入 git commit -m "first commit" (注: ""双引号里面,是提交信息,随你自己写)

输入 git remote add origin https://github.com/lxk0301/shopping-car.git (注: git remote add origin 是你自己的仓库https的地址),连接你的guthub仓库。

输入“git push -u origin master”,这里可能会要求输入Github的账号密码(注: 如果是第一次,就需要输入github账号密码),按要求输入就可以

至此, 就结束了(注: 整个教程的图文参考链接)

how_to_import_project_to_github's People

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.