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