码农的自我修养之必备技能 学习笔记

如何在github上新建一个项目

首先在github主页上新建一个仓库git

 

  1. 本地没有项目代码github

    这里我转载一篇博客:https://blog.csdn.net/sulove999/article/details/88734927bash

  2. 本地存在项目代码,而后放到github上托管。spa

    进入本地的一个项目文件夹下.net

git init

 

git add task1.txt
git commit -m "first commit"
git remote add origin https://github.com/BlueSkyXXp/ustc_se2020

  

 

       

git push -u origin master

  

 

 输入本身的github帐号和密码3d

 

 这个问题请看另一篇博客:https://blog.csdn.net/Meetyouhere/article/details/87982450blog

 

一些git的基本操做参考另一篇博客:https://blog.csdn.net/weixin_39528587/article/details/88311186rem