$ git clone -n https://gitee.com/src-anolis-os/xmlsec1.git /var/lib/mock/dist-an23-build-341135-69863/root/chroot_tmpdir/scmroot/xmlsec1 Cloning into '/var/lib/mock/dist-an23-build-341135-69863/root/chroot_tmpdir/scmroot/xmlsec1'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/xmlsec1 * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b937867 update to 1.2.38