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