首页 > 其他 > 详细

git 跟踪提交记录

时间:2018-08-24 12:14:32      阅读:144      评论:0      收藏:0      [点我收藏+]

一、克隆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 *

 

技术分享图片

 

git 跟踪提交记录

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!