$ git clone -n https://src.fedoraproject.org/rpms/kinfocenter.git /var/lib/mock/f41-build-847408-163983/root/chroot_tmpdir/scmroot/kinfocenter Cloning into '/var/lib/mock/f41-build-847408-163983/root/chroot_tmpdir/scmroot/kinfocenter'... $ git fetch origin 535a727db86904b2542d5bd9a2329c1530ebf266:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kinfocenter * [new ref] 535a727db86904b2542d5bd9a2329c1530ebf266 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 535a727 6.1.5