$ git clone -n https://gitee.com/src-anolis-os/qatlib.git /var/lib/mock/dist-an23.2-build-407037-72467/root/chroot_tmpdir/scmroot/qatlib Cloning into '/var/lib/mock/dist-an23.2-build-407037-72467/root/chroot_tmpdir/scmroot/qatlib'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/qatlib * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 77d7f2b Add more dependencies and obsoletes for qatlib