$ git clone -n https://gitee.com/mgb01105731/zlib-ng.git /var/lib/mock/dist-an23.3-build-489794-74491/root/chroot_tmpdir/scmroot/zlib-ng Cloning into '/var/lib/mock/dist-an23.3-build-489794-74491/root/chroot_tmpdir/scmroot/zlib-ng'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/zlib-ng * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at edb1651 Init upstream from 2.2.5