$ git clone -n https://gitee.com/guost123/go-rpm-macros.git /var/lib/mock/dist-an23.3-build-431431-73055/root/chroot_tmpdir/scmroot/go-rpm-macros Cloning into '/var/lib/mock/dist-an23.3-build-431431-73055/root/chroot_tmpdir/scmroot/go-rpm-macros'... $ git fetch origin 743c8273fc1b232e1cf8b2fb03fc7fd7167afd40:KOJI_FETCH_HEAD From https://gitee.com/guost123/go-rpm-macros * [new ref] 743c8273fc1b232e1cf8b2fb03fc7fd7167afd40 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 743c827 adapt for riscv64