Git基本使用

偶尔会使用一下Git,但是没吃使用都要重新百度一通,这次简单记录一下:

1、Git菜鸟教程网址:https://www.runoob.com/git/git-basic-operations.html

2、创建一个Git仓库以后会出现如下页面:

Git基本使用_第1张图片

该页面指导你怎么在本地创建仓库,以及将其托管到github,详细操作链接:https://blog.csdn.net/daydayjump/article/details/80850390

Git账号密码认证链接:https://blog.csdn.net/tianya_team/article/details/72454473

6.在将本地仓库上传到github之前,需要设置username和email,因为github每次commit都会记录他们。

git config --global user.name "onlyou2030"

git config --global user.email [email protected]

你可能感兴趣的:(STM32MP1)