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