Blogger Information
Blog 21
fans 0
comment 1
visits 11012
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
git初始化及其使用
手机用户1620888567
Original
296 people have browsed it

git使用

image.png

一、 git初始化

本地仓库

1、git init 本地仓库初始化
2、git add 添加本地仓库
3、git commit -m ‘first commit’ 第一次提交

远程仓库

git config —global user.name “zhuyuseng”
git config —global user.email “zhuyuseng@aliyun.com

设置远程仓库的地址

git remote add origin https://gitee.com/bnkt/22.git

仓库的自我介绍: 将本地与远程仓库进行关联

git push —set-upstream origin master

以后, 只要用以下指令直接提交

git push

二、日常使用方法

image.png

https://note.youdao.com/s/GnILM5GE

Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post