$ git clone -n https://gitee.com/hongwei-qin/nginx.git /var/lib/mock/dist-an23.3-build-417419-72868/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/dist-an23.3-build-417419-72868/root/chroot_tmpdir/scmroot/nginx'... $ git fetch origin 4aa7dd02fe81220f6c8d1f7a10b2daeb37a5904d:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/nginx * [new ref] 4aa7dd02fe81220f6c8d1f7a10b2daeb37a5904d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4aa7dd0 update to 1.26.2