$ git clone -n https://gitee.com/opencloudos-stream/rust-lock_api.git /var/lib/mock/dist-oc9-epol-build-88107-58133/root/chroot_tmpdir/scmroot/rust-lock_api Cloning into '/var/lib/mock/dist-oc9-epol-build-88107-58133/root/chroot_tmpdir/scmroot/rust-lock_api'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/rust-lock_api * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 863e9d5 update