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