$ git clone -n https://src.fedoraproject.org/rpms/kinfocenter.git /var/lib/mock/f42-build-3340340-44984/root/chroot_tmpdir/scmroot/kinfocenter Cloning into '/var/lib/mock/f42-build-3340340-44984/root/chroot_tmpdir/scmroot/kinfocenter'... $ git fetch origin 7a9a33300a84e7a9bab95fbea6f715440346307d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kinfocenter * [new ref] 7a9a33300a84e7a9bab95fbea6f715440346307d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7a9a333 6.3.2