$ git clone -n https://src.fedoraproject.org/rpms/lua-mpack.git /var/lib/mock/f41-build-846556-163101/root/chroot_tmpdir/scmroot/lua-mpack Cloning into '/var/lib/mock/f41-build-846556-163101/root/chroot_tmpdir/scmroot/lua-mpack'... $ git fetch origin 3e2d9662ff658ad9756e45a429a7ba6226c55f19:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/lua-mpack * [new ref] 3e2d9662ff658ad9756e45a429a7ba6226c55f19 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3e2d966 Update to version 1.0.12; Fixes: RHBZ#2263242