$ git clone -n https://gitee.com/src-anolis-os/libbytesize.git /var/lib/mock/dist-an23-build-341666-69905/root/chroot_tmpdir/scmroot/libbytesize Cloning into '/var/lib/mock/dist-an23-build-341666-69905/root/chroot_tmpdir/scmroot/libbytesize'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libbytesize * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 03f68a3 update to version 2.10