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