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