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