$ git clone -n https://gitee.com/zhoujiajia111/ghostscript.git /var/lib/mock/dist-an23.2-build-430840-73034/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-an23.2-build-430840-73034/root/chroot_tmpdir/scmroot/ghostscript'... $ git fetch origin bb804ee95772f148fadfbd1f4f64687aa8e3b508:KOJI_FETCH_HEAD From https://gitee.com/zhoujiajia111/ghostscript * [new ref] bb804ee95772f148fadfbd1f4f64687aa8e3b508 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bb804ee update ghostscript.spec.