$ git clone -n https://gitee.com/fundawang/openssh.git /var/lib/mock/dist-an23-build-288676-64871/root/chroot_tmpdir/scmroot/openssh Cloning into '/var/lib/mock/dist-an23-build-288676-64871/root/chroot_tmpdir/scmroot/openssh'... $ git fetch origin 274fe0da425ec384e84544c324a09a13bf66d3d9:KOJI_FETCH_HEAD From https://gitee.com/fundawang/openssh * [new ref] 274fe0da425ec384e84544c324a09a13bf66d3d9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 274fe0d fix