$ git clone -n https://gitee.com/fundawang/ghostscript.git /var/lib/mock/dist-an23-build-324047-68521/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-an23-build-324047-68521/root/chroot_tmpdir/scmroot/ghostscript'... $ git fetch origin 71f72e709abc376fd45c9e7dd26070343b1ee3e9:KOJI_FETCH_HEAD From https://gitee.com/fundawang/ghostscript * [new ref] 71f72e709abc376fd45c9e7dd26070343b1ee3e9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 71f72e7 generate abi