$ git clone -n https://gitee.com/alpha-wang/htop.git /var/lib/mock/dist-an8-epao-build-417049-72600/root/chroot_tmpdir/scmroot/htop Cloning into '/var/lib/mock/dist-an8-epao-build-417049-72600/root/chroot_tmpdir/scmroot/htop'... $ git fetch origin 579c140d10a7ae7dc191b99acd654cc297f77d97:KOJI_FETCH_HEAD From https://gitee.com/alpha-wang/htop * [new ref] 579c140d10a7ae7dc191b99acd654cc297f77d97 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 579c140 update to htop-3.2.1-1.el8.src.rpm