建设网站的目的以及意义,唐山建设集团下岗职工网站,网站首页网址,好看的网页设计作品一、在gitHub上创建新项目
【1】点击添加#xff08;#xff09;--New repository 【2】填写新项目的配置项
Repository name#xff1a;项目名称
Description #xff1a;项目的描述
Choose a license#xff1a;license 【3】点击确定#xff0c;项目已在githu…
一、在gitHub上创建新项目
【1】点击添加--New repository 【2】填写新项目的配置项
Repository name项目名称
Description 项目的描述
Choose a licenselicense 【3】点击确定项目已在github创建成功如下图 二、本地项目上传github
【1】进入到项目文件夹打开git branch 【2】初始化git项目
git init
运行结果
1 2项目文件夹中出现.gitignore文件
【3】提交文件至git本地仓库
git add .git commit -m 提交描述信息
【4】切换至github上的分支
查看github上的分支 运行命令
git branch -M main
输入完命令后代码分支由master 切换至main如下图 【5】把远端的地址 重命名 并且添加到本地
重命名billingSys
远端地址https://github.com/zykHero/billingSys.git git remote add billingSys https://github.com/zykHero/billingSys.git
【6】push文件到github
git push -u billingSys main