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