Tag - GIT

GIT    2019-03-16 10:32:26    200    0    0
1. `git clone --mirror http://old.ip/score-group/rest-score.git old.git` 解释:克隆原仓库的镜像。其中包括的项目的所有信息,以及config 注意:是“http://”不是“https://” 2. `cd old.git` 进入上面的镜像目录(一定要进入该目录,执行步骤3) 3. `git remote set-url
GIT    2019-03-16 10:32:26    174    0    0
获取该文件的提交记录 ``` git log --pretty=oneline 文件路径 ``` 或 ``` git show 6b14b5883e5a03d5e2110eb78633f622e81a36ac 文件路径 ``` 就是这么简单