$ git clone -n https://gitee.com/src-anolis-os/gmp.git /var/lib/mock/dist-an23.3-build-433293-73067/root/chroot_tmpdir/scmroot/gmp Cloning into '/var/lib/mock/dist-an23.3-build-433293-73067/root/chroot_tmpdir/scmroot/gmp'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gmp * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3cdef58 Sw64 Port gmp