git note

1) cd workspace

2) git clone +project path

3) git add <folder or file name>

4) git status

5) git commit

6) i enter input state

7) esc ,: exit input state
    wq save and exit

8) cat View object content
   cat .git/HEAD View current path
   cat .git/refs/heads/master

9) git catch-file -t View file type

10) git branch
    git checkout

11) git mv index.html hello.html file rename

12) git branch -m master mymaster branch rename with move

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326985267&siteId=291194637