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