$ git clone -n https://gitee.com/zhaohang_mskdxl/dnsmasq.git /var/lib/mock/dist-an23.3-build-423569-72929/root/chroot_tmpdir/scmroot/dnsmasq Cloning into '/var/lib/mock/dist-an23.3-build-423569-72929/root/chroot_tmpdir/scmroot/dnsmasq'... $ git fetch origin 6e7d1fccfe8b509c1b9dfc3bf0a2e50c5ae9aa23:KOJI_FETCH_HEAD From https://gitee.com/zhaohang_mskdxl/dnsmasq * [new ref] 6e7d1fccfe8b509c1b9dfc3bf0a2e50c5ae9aa23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6e7d1fc update to dnsmasq-2.90-1