git init   add curent dir to be git base

git add readme.txt     add file to git base

git commit -m "readme log"

git status  view stat

git diff readme.txt   check difference

git log  view log

git log --pretty=oneline   check log by line

git reset --hard HEAD   restore

git rm readme.txt    remove files

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code