1。add/Modify [lastest version update with.....]
2.commit
3.push
if(error)
{
pull
merge
}
文件在git中有三种状态,已提交(commited) 已修改(modified)已暂存staged
文件流转的三个工作区域:git 工作目录,git暂存区域,本地库
decode 解码器
fellow up
GIT/Getrritb
git init
检出仓库:
git clone /path/to/repository
命令格式:git clone username@host:/path/to/repository
workspace->index: git add
index->worksapce: check out
index->local : git commit -m
local->index reset
remote->local: pull
local -> remote push
remote->workspace git clone
git diff 检查workspace和local的不同
git status 检查workspace和index的不同