$ git clone -n https://gitee.com/mgb01105731/cosign-test.git /var/lib/mock/dist-an23-build-464456-73881/root/chroot_tmpdir/scmroot/cosign-test Cloning into '/var/lib/mock/dist-an23-build-464456-73881/root/chroot_tmpdir/scmroot/cosign-test'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/cosign-test * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e84aa2d Init