Git用法笔记

$ git clone URL
从某处clone下一个项目

$ ls -a
ls为查看所有文件,加上-a则查看包括隐藏文件在内的所有文件

$ cd .git
$ ls
HEAD description info packed-refs
branches hooks logs refs
config index objects
进入.git可以查看.git 子目录