$ git clone -n https://gitee.com/src-anolis-os/openssh.git /var/lib/mock/dist-an23-build-482869-74272/root/chroot_tmpdir/scmroot/openssh Cloning into '/var/lib/mock/dist-an23-build-482869-74272/root/chroot_tmpdir/scmroot/openssh'... $ git fetch origin 1200bdc79a9d4b01983b653e37f8b82a2b897259:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/openssh * [new ref] 1200bdc79a9d4b01983b653e37f8b82a2b897259 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1200bdc update to 9.6p1