$ git clone -n https://gitee.com/src-anolis-os/dnsmasq.git /mnt/mock/kojid//dist-an23.3-riscv-build-436064-73130/root/chroot_tmpdir/scmroot/dnsmasq Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-436064-73130/root/chroot_tmpdir/scmroot/dnsmasq'... $ git fetch origin 6e7d1fccfe8b509c1b9dfc3bf0a2e50c5ae9aa23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/dnsmasq * [new ref] 6e7d1fccfe8b509c1b9dfc3bf0a2e50c5ae9aa23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6e7d1fc update to dnsmasq-2.90-1