一、克隆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 跟踪提交记录

 

相关文章:

  • 2022-01-01
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-22
  • 2021-08-06
  • 2021-07-03
  • 2021-08-31
  • 2021-04-19
  • 2021-11-16
相关资源
相似解决方案