git及github的学习

初始化

1
2
3
4
5
6
7
8
9
10
11
12
git -v	#查看git版本

git config --global user.name "name"
git config --global user.email "*******@qq.com"
git init
#初始化用户名,邮箱

git add ****.py #添加文件
git add . #添加当前路径下的所有文件
git commit -m "这次提交版本的名字(修改内容)" #将这次版本提交上去

git log #提交记录

git及github的学习
https://collapsarva.github.io/2024/06/09/git及github的学习/
Author
zzk
Posted on
June 9, 2024
Licensed under