$ git clone -n https://gitee.com/wenjie2025/net-snmp.git /var/lib/mock/dist-an23-build-508065-74965/root/chroot_tmpdir/scmroot/net-snmp Cloning into '/var/lib/mock/dist-an23-build-508065-74965/root/chroot_tmpdir/scmroot/net-snmp'... $ git fetch origin ae42021aa5e8459d387b9b1ec4bc39bba0e8bd76:KOJI_FETCH_HEAD From https://gitee.com/wenjie2025/net-snmp * [new ref] ae42021aa5e8459d387b9b1ec4bc39bba0e8bd76 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ae42021 Update code from upstream