$ git clone -n https://gitee.com/wency_cn/ghostscript.git /var/lib/mock/dist-an23-build-499814-74764/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-an23-build-499814-74764/root/chroot_tmpdir/scmroot/ghostscript'... $ git fetch origin b64357b50aced20a45c306be2235874a2f75eb26:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/ghostscript * [new ref] b64357b50aced20a45c306be2235874a2f75eb26 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b64357b Update code from upstream