$ git clone -n https://gitee.com/wency_cn/rest_1772012881.git /var/lib/mock/dist-an23-build-514867-75118/root/chroot_tmpdir/scmroot/rest_1772012881 Cloning into '/var/lib/mock/dist-an23-build-514867-75118/root/chroot_tmpdir/scmroot/rest_1772012881'... $ git fetch origin 5af6363386152bdce963e1432e289506c06d99e3:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/rest_1772012881 * [new ref] 5af6363386152bdce963e1432e289506c06d99e3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5af6363 Update code from upstream