git 跟踪提交记录

一、克隆git仓库

 git clone ssh://hwl@xxx/home/data/repositories/git.git

二、申明使用人信息,以便跟踪提交记录


$ git config --global user.name "wy"


$ git config --global user.email "wy@qq.com"

三、创建和提交信息

$ mkdir wytest

admin@admin-PC MINGW64 /g/企姆股份有限公司/服务器/wy_git (master)
$ echo "133" > wytest/1.txt

$ git add .

$ git commit -m "v1" wytest/1.txt

$ git push

$ git log *

原文地址:https://www.cnblogs.com/zoulixiang/p/9528997.html