$ git clone -n https://gitee.com/mgb01105731/nginx.git /var/lib/mock/dist-an23-build-354164-71027/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/dist-an23-build-354164-71027/root/chroot_tmpdir/scmroot/nginx'... $ git fetch origin 2af7cbddc7c548bf292b95be97778bd5c69c244f:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/nginx * [new ref] 2af7cbddc7c548bf292b95be97778bd5c69c244f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2af7cbd update to 1.25.4