$ git clone -n https://gitee.com/yangcheng1203/openssh.git /var/lib/mock/dist-an23-build-441483-73164/root/chroot_tmpdir/scmroot/openssh Cloning into '/var/lib/mock/dist-an23-build-441483-73164/root/chroot_tmpdir/scmroot/openssh'... $ git fetch origin f52a1dc5d198e68d5fad677eb35e14f7b897ca27:KOJI_FETCH_HEAD From https://gitee.com/yangcheng1203/openssh * [new ref] f52a1dc5d198e68d5fad677eb35e14f7b897ca27 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f52a1dc update to 9.6p1