https://github.com/vvngmn
(方式一:从github) CLONE a repository created from github
will create a repository folder after clone on local disk
.git/config -> url = https://github.com/vvngmn/gittest
(方式二:local) git init + git PULL repository from github
need to create a local folder and then git init
.git/config -> url = https://github.com/vvngmn/vvnSeleniumWorkPlace.git
同步所有分支的仓库:git clone --bare https://github.com/vvngmn/gittest
rename "gittest.git" -> ".git" folder
.git/config : bare = true -> false
git checkout
git log # only show commit list
git show # 看commit之后的结果
git diff #
tree folder # linux
xxx.git # 原始仓库,clone from github
.git # 本地克隆下来的仓库