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