git

  未分类

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

LEAVE A COMMENT

Captcha Code