$ git clone -n https://gitee.com/alpha-wang/libcbor_1.git /var/lib/mock/dist-an8.9-build-426670-72901/root/chroot_tmpdir/scmroot/libcbor_1 Cloning into '/var/lib/mock/dist-an8.9-build-426670-72901/root/chroot_tmpdir/scmroot/libcbor_1'... $ git fetch origin ee1308373c4f3b73c734ce2852bf37044697f7e7:KOJI_FETCH_HEAD From https://gitee.com/alpha-wang/libcbor_1 * [new ref] ee1308373c4f3b73c734ce2852bf37044697f7e7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ee13083 init to 0.7.0