git基本使用教程
linux 6

1.教程

https://liaoxuefeng.com/books/git/introduction/index.html

2.基本操作

1.拉取远程仓库 git clone https://xx.com

2.推送给远程仓库 
 1. git add .  ##把所有文件添加到暂存区 
 2. git commit -m "注释" ##把暂存区的所有内容提交到当前分支
 3. git remote add origin git@github.com:yuxi12345/Vue3-study.git ##设置远程仓库只需要执行一次
 4. git push -u origin master  ##把本地库的所有内容推送到远程库master上(第一次)
 5. git push origin master ##把本地库的所有内容推送到远程库

3.分支(待定)

4.标签(待定)

git基本使用教程
https://blog.883051.xyz/archives/gitde-ji-ben-cao-zuo
作者
玉溪
发布于
更新于
许可