$ git clone -n https://gitee.com/zhoujiajia111/ldns.git /var/lib/mock/dist-an23.3-build-440365-73150/root/chroot_tmpdir/scmroot/ldns Cloning into '/var/lib/mock/dist-an23.3-build-440365-73150/root/chroot_tmpdir/scmroot/ldns'... $ git fetch origin 0b81996788ccb7145d2b6ff733b798729c96f028:KOJI_FETCH_HEAD From https://gitee.com/zhoujiajia111/ldns * [new ref] 0b81996788ccb7145d2b6ff733b798729c96f028 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0b81996 update ldns.spec.