$ git clone -n https://src.fedoraproject.org/rpms/golie.git /var/lib/mock/f33-build-341316-58669/root/chroot_tmpdir/scmroot/golie Cloning into '/var/lib/mock/f33-build-341316-58669/root/chroot_tmpdir/scmroot/golie'... $ git reset --hard ac464778b11a73294d5d7073c4265d3493b6e4c6 HEAD is now at ac46477 Avoid using %tag as @gometa will put it to %dist unnecessarily