$ git clone -n https://gitee.com/fundawang/ghostscript.git /var/lib/mock/dist-an23-build-338924-69766/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-an23-build-338924-69766/root/chroot_tmpdir/scmroot/ghostscript'... $ git fetch origin 0bd60401d25e7402bd1faad0290e93df16dba332:KOJI_FETCH_HEAD From https://gitee.com/fundawang/ghostscript * [new ref] 0bd60401d25e7402bd1faad0290e93df16dba332 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0bd6040 10.02.1