$ git clone -n https://src.fedoraproject.org/rpms/xautolock.git /var/lib/mock/f45-build-38600-725/root/chroot_tmpdir/scmroot/xautolock Cloning into '/var/lib/mock/f45-build-38600-725/root/chroot_tmpdir/scmroot/xautolock'... $ git fetch origin 18c08aa63f8166e3361d7e9e476f3dfd6cbb5006:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/xautolock * [new ref] 18c08aa63f8166e3361d7e9e476f3dfd6cbb5006 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 18c08aa spec cleanup and modernization