$ git clone -n https://src.fedoraproject.org/rpms/opensips.git /var/lib/mock/f41-build-838650-159743/root/chroot_tmpdir/scmroot/opensips Cloning into '/var/lib/mock/f41-build-838650-159743/root/chroot_tmpdir/scmroot/opensips'... $ git fetch origin f4df946770d07f82e96ece5ceb5958485679416e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/opensips * [new ref] f4df946770d07f82e96ece5ceb5958485679416e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f4df946 Spec-file cleanup