$ git clone -n https://gitee.com/lzq11122/ghostscript.git /var/lib/mock/dist-an23.2-build-447197-73373/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-an23.2-build-447197-73373/root/chroot_tmpdir/scmroot/ghostscript'... $ git fetch origin a282d29cab16ca2dd501b16cac4a4852df0c1aa7:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/ghostscript * [new ref] a282d29cab16ca2dd501b16cac4a4852df0c1aa7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a282d29 test