$ git clone -n https://gitee.com/zhangwenlong01/lxc.git /var/lib/mock/dist-an23.4-build-505264-74842/root/chroot_tmpdir/scmroot/lxc Cloning into '/var/lib/mock/dist-an23.4-build-505264-74842/root/chroot_tmpdir/scmroot/lxc'... $ git fetch origin aab85eba76e6d039e3d01bfa52f08bd4995276fe:KOJI_FETCH_HEAD From https://gitee.com/zhangwenlong01/lxc * [new ref] aab85eba76e6d039e3d01bfa52f08bd4995276fe -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at aab85eb rebuild for loongarch64