$ git clone -n https://gitee.com/src-anolis-os/libgsf.git /var/lib/mock/dist-an23.3-build-416590-72865/root/chroot_tmpdir/scmroot/libgsf Cloning into '/var/lib/mock/dist-an23.3-build-416590-72865/root/chroot_tmpdir/scmroot/libgsf'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libgsf * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5b0d63b update to libgsf-1.14.53-2