$ git clone -n https://src.fedoraproject.org/rpms/gr-osmosdr.git /var/lib/mock/f39-build-2216294-52479/root/chroot_tmpdir/scmroot/gr-osmosdr Cloning into '/var/lib/mock/f39-build-2216294-52479/root/chroot_tmpdir/scmroot/gr-osmosdr'... $ git fetch origin 456eb4e7f44bcbc8c762c1765ba59737b15d1bc8:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gr-osmosdr * [new ref] 456eb4e7f44bcbc8c762c1765ba59737b15d1bc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 456eb4e New snapshot