$ git clone -n https://src.fedoraproject.org/rpms/apcupsd.git /var/lib/mock/f41-build-side-1-3129366-39577/root/chroot_tmpdir/scmroot/apcupsd Cloning into '/var/lib/mock/f41-build-side-1-3129366-39577/root/chroot_tmpdir/scmroot/apcupsd'... $ git fetch origin cb14d73ce6da55f3ca655ada1688f55f43f2f97a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/apcupsd * [new ref] cb14d73ce6da55f3ca655ada1688f55f43f2f97a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cb14d73 fixed license format