Skip to content

space-sea1231/space_sea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git初始化
git init
添加文件到缓存区
git add .
查看缓存区状态
git status
切换到master分支
git checkout master
强制转换为main分支
git branch main master -f
切换到master分支
git checkout main
推送本地仓库到远程仓库
git push origin main -f

获取本地ssh
ssh-keygen -t rsa -C "[email protected]"
添加远程仓库为origin
git remote add origin [email protected]:space-sea1231/space_sea.git
添加上传者的信息
git config --global user.email "[email protected]"
git config --global user.name "space_sea"
我的远程仓库ssh
[email protected]:space-sea1231/space_sea.git
lfs建立跟踪
git lfs track "*.文件后缀"

在此之后要重新git add .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published