$ git clone -n https://src.fedoraproject.org/rpms/pdns.git /var/lib/mock/f38-build-side-42-init-devel-1141258-30429/root/chroot_tmpdir/scmroot/pdns Cloning into '/var/lib/mock/f38-build-side-42-init-devel-1141258-30429/root/chroot_tmpdir/scmroot/pdns'... $ git fetch origin a0ae1f33d624cc9bf5b02340ece1ebf6af0b886a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/pdns * [new ref] a0ae1f33d624cc9bf5b02340ece1ebf6af0b886a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a0ae1f3 Update to 4.8.1