$ git clone -n https://gitee.com/guost123/libunwind.git /var/lib/mock/dist-an23.3-build-431489-73055/root/chroot_tmpdir/scmroot/libunwind Cloning into '/var/lib/mock/dist-an23.3-build-431489-73055/root/chroot_tmpdir/scmroot/libunwind'... $ git fetch origin 6b1712180eacb2fbc090112250c477b69df9c7b1:KOJI_FETCH_HEAD From https://gitee.com/guost123/libunwind * [new ref] 6b1712180eacb2fbc090112250c477b69df9c7b1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6b17121 adapt for riscv64