$ git clone -n https://gitee.com/zhuhong_bo/deepin-authenticate.git /var/lib/mock/dist-an23-dde-build-534770-81830/root/chroot_tmpdir/scmroot/deepin-authenticate Cloning into '/var/lib/mock/dist-an23-dde-build-534770-81830/root/chroot_tmpdir/scmroot/deepin-authenticate'... $ git fetch origin 10b824c90e2f3e0b7bd0f90e985b23f17fac78a1:KOJI_FETCH_HEAD From https://gitee.com/zhuhong_bo/deepin-authenticate * [new ref] 10b824c90e2f3e0b7bd0f90e985b23f17fac78a1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 10b824c upgrade to 1.5.12