已提交的gitlab代码再提交新的模型文件

写给小白,step-by-step~

首先进入到本地的文件夹

zhengxinying@COMP-01-10710 MINGW64 /c/janusfacelock_python (master)

运行命令 $ git status #查看当前的状态

$ git status
On branch master
Your branch is behind 'origin/master' by 7 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)

nothing to commit, working tree clean

已与云端保持一致,不放心的再运行git pull origin master拉取一下代码

$ git pull origin master
From code.orbbec.com.cn:xiatian/janusfacelock_python
 * branch            master     -> FETCH_HEAD
Updating 0028a46..e06c705
Fast-forward
 FaceDetect/face_detect.py                          |  203 +++-
 FaceDetect/model/face_detect_ir_lock.npz           |  Bin 4736112 -> 2621897 bytes
 FaceDetect/model/face_detect_ir_lock.prototxt      |  726 ++++--------
 FaceDetect/model/face_detect_ir_lock_int16.npz     |  Bin 4736112 -> 0 bytes
 .../model/face_detect_ir_lock_int16.prototxt       | 1217 --------------------
 FaceDetect/retinaface.py                           |  553 ---------
 FaceLandmark/face_landmark.py                      |    2 +-
 FaceLandmark/model/face_landmark_ir_lock.npz       |  Bin 6204127 -> 1448549 bytes
 FaceLandmark/model/face_landmark_ir_lock.prototxt  |  518 +++++----
 FaceQuality/model/face_quality_ir_lock.npz         |  Bin 3444114 -> 1154999 bytes
 FaceQuality/model/face_quality_ir_lock.prototxt    |  501 +++-----
 FaceRecog/face_recog.py                            |   22 +-
 FaceRecog/model/face_recognize_ir_lock.npz         |  Bin 7697748 -> 11059904 bytes
 FaceRecog/model/face_recognize_ir_lock.prototxt    |  740 ++++++------
 config.py                                          |    2 +-
 generate_gallery_embedding.py                      |    6 +-
 test.py                                            |   10 +-
 17 files changed, 1162 insertions(+), 3338 deletions(-)
 delete mode 100644 FaceDetect/model/face_detect_ir_lock_int16.npz
 delete mode 100644 FaceDetect/model/face_detect_ir_lock_int16.prototxt
 delete mode 100644 FaceDetect/retinaface.py

将要提交的新模型放到对应的路径下,查看当前状态

$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   LivingIr/model/living_body_ir_lock.npz
        modified:   LivingIr/model/living_body_ir_lock.prototxt

会报已修改了这两个模型,接下来将工程添加到暂存区,

$ git add ./*

查看状态,显示已修改的变成绿色

$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        modified:   LivingIr/model/living_body_ir_lock.npz
        modified:   LivingIr/model/living_body_ir_lock.prototxt

commit提交, -m添加说明

$ git commit -m"更新ir活体模型"
[master 5434a2f] 鏇存柊ir娲讳綋妯″瀷
 2 files changed, 36 insertions(+), 36 deletions(-)
 rewrite LivingIr/model/living_body_ir_lock.npz (81%)

最后运行git push -u origin master将本地仓库推送到远程仓库

$ git push -u origin master
Enumerating objects: 11, done.
Counting objects: 100% (11/11), done.
Delta compression using up to 12 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 622.96 KiB | 6.49 MiB/s, done.
Total 6 (delta 3), reused 0 (delta 0), pack-reused 0
To code.orbbec.com.cn:xiatian/janusfacelock_python.git
   e06c705..5434a2f  master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.

在这里插入图片描述

duang, 更改已完成~~

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

一位不愿暴露自己的小可爱

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值