1. CentOS服务器搭建
https://blog.csdn.net/fareast_mzh/article/details/87162991
2. git新建项目 从已有项目目录上传到指定的git链接
git init git remote add origin http://gitlab.easytech-main.com/mingzhanghui/crmservice git add * git commit -m "从crm导入数据" # git push -u origin master git checkout -b dev git push -u origin dev
3. git 查看某次提交所有变更
$ git log
commit f5a39dc4fdedd231aefaa67f1814cafc1c93e28f Author: mingzhanghui <1335250574@qq.com> Date: Mon Sep 9 10:00:44 2019 +0800
first commit
$ git show f5a39dc4fdedd231aefaa67f1814cafc1c93e28f > /tmp/git_show.txt
$ vim /tmp/git_show.txt