$ git clone -n https://src.fedoraproject.org/rpms/libdnf.git /var/lib/mock/f41-build-848854-164597/root/chroot_tmpdir/scmroot/libdnf Cloning into '/var/lib/mock/f41-build-848854-164597/root/chroot_tmpdir/scmroot/libdnf'... $ git fetch origin f0c722789bf1a746e1b66a57d7547979ee0ab75f:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/libdnf * [new ref] f0c722789bf1a746e1b66a57d7547979ee0ab75f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f0c7227 Fix release number