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