MENU

GIT 学习记录(一)

2018 年 07 月 20 日 • 阅读: 2392 • GIT

基础学习

初始化仓库

git init

跟踪这个文件(提交到暂存区)

git add  

提交到版本库中,-m为备注

git commit

提交到暂存区再提交到版本库里

git commit am  (参数a相当于add和commit两个命令合并)

查看git管理状态

git status

暂存区

stagin area 

工作区

work area

本地仓库

local repository

远程仓库

remote repository

git状态管理

兼总条贯 知至知终

最后编辑于: 2018 年 07 月 25 日