$ git clone -n https://gitee.com/alpha-wang/patchelf.git /var/lib/mock/dist-an8.9-build-419051-72835/root/chroot_tmpdir/scmroot/patchelf Cloning into '/var/lib/mock/dist-an8.9-build-419051-72835/root/chroot_tmpdir/scmroot/patchelf'... $ git fetch origin dd8c106b30d67cf201ab9ec3c21a2a1d17b35619:KOJI_FETCH_HEAD From https://gitee.com/alpha-wang/patchelf * [new ref] dd8c106b30d67cf201ab9ec3c21a2a1d17b35619 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dd8c106 update to patchelf-0.12-1.src.rpm