$ git clone -n https://gitee.com/lzq11122/arm-trusted-firmware.git /var/lib/mock/dist-an23-build-451204-73471/root/chroot_tmpdir/scmroot/arm-trusted-firmware Cloning into '/var/lib/mock/dist-an23-build-451204-73471/root/chroot_tmpdir/scmroot/arm-trusted-firmware'... $ git fetch origin d8a522543ef125f5ccb4209155ed7cd2cb3f46ac:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/arm-trusted-firmware * [new ref] d8a522543ef125f5ccb4209155ed7cd2cb3f46ac -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d8a5225 .