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