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