git status
git add .
git commit -m "message"
git branch
git checkout master
git push
使用码云管理项目
0.在码云创建一个仓库vue_shop
1.生成共钥
2.将公钥复制到码云网站
3.将本地vue ui创建的项目添加到码云(by windows powershell)
git add .
git commit -m "add files"
git status
git remote add origin https://gitee.com/QBW_Project/vue_shp.git
git push -u origin master
4.创建并切换到新分支
git checkout -b login
5.将本地分支login合并到master
git checkout master
git branch
git merge login
git push
6.将本地分支login上传到码云仓库
git checkout login
git branch
git push -u origin log
align-item:center;
display:flex;
padding-left:0;
git branch
git checkout -b user
git branch
git add .
git commit -m "user"
git push -u origin user
git checkout master
git merge user
express gzip压缩
express disk
HTTPS 证书配置
https://freessl.cn
git init
git add file/git add .
git status
git branch
git commit
git push
git pull
git clone
git merge
git rm --cached index.html
git branch login
git checkout master
git merge login
git add origin https://github.com/heaihomework.git
git push -u origin master
Git是代码管理工具
GitHub代码管理平台
git clone https://github.com/heaihomework.git//将GitHub上的项目克隆到当前文件夹
git 忽略文件 .gitignore
将不需要的文件或文件夹添加到.gitignore文件中
log.txt
/dir2
分支的使用:git branch login
合并 : git merge login
远程仓库
使用码云管理项目
0.在码云创建一个仓库vue_shop
1.生成共钥
2.将公钥复制到码云网站
3.将本地vue ui创建的项目添加到码云(by windows powershell,本地需安装git)
git add .
git commit -m "add files"
git status
git remote add origin https://gitee.com/QBW_Project/vue_shp.git
git push -u origin master
4.创建并切换到新分支
git checkout -b login
5.将本地分支login合并到master
git checkout master
git branch
git merge login
git push
6.将本地分支login上传到码云仓库
git checkout login
git branch
git push -u origin login
--------------------git 相关:
git branch
git checkout -b user
git branch
git add .
git commit -m "user"
git push -u origin user
git checkout master
git merge user
express gzip压缩
express disk
HTTPS 证书配置
https://freessl.cn
git init
git add file/git add .
git status
git branch
git commit
git push
git pull
git clone
git merge
git rm --cached index.html
git branch login
git checkout master
git merge login
git add origin https://github.com/heaihomework.git
git push -u origin master
Git是代码管理工具
GitHub代码管理平台
git clone https://github.com/heaihomework.git//将GitHub上的项目克隆到当前文件夹
git 忽略文件 .gitignore
将不需要的文件或文件夹添加到.gitignore文件中
log.txt
/dir2
分支的使用:git branch login
合并 : git merge login
远程仓库