$ git clone -n https://src.fedoraproject.org/rpms/gfal2.git /var/lib/mock/f40-build-1883959-25043/root/chroot_tmpdir/scmroot/gfal2 Cloning into '/var/lib/mock/f40-build-1883959-25043/root/chroot_tmpdir/scmroot/gfal2'... $ git fetch origin 11ea31eb305f7d6b58451a7af9c707a592d6ae60:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gfal2 * [new ref] 11ea31eb305f7d6b58451a7af9c707a592d6ae60 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 11ea31e Fix "%autosetup" usage