$ git clone -n https://gitee.com/mgb01105731/groovy.git /var/lib/mock/dist-an23-build-272038-64161/root/chroot_tmpdir/scmroot/groovy Cloning into '/var/lib/mock/dist-an23-build-272038-64161/root/chroot_tmpdir/scmroot/groovy'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/groovy * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4e68b99 init upstream from version 1.8.6