$ git clone -n https://src.fedoraproject.org/rpms/python-networkx.git /var/lib/mock/f40-build-1857722-24986/root/chroot_tmpdir/scmroot/python-networkx Cloning into '/var/lib/mock/f40-build-1857722-24986/root/chroot_tmpdir/scmroot/python-networkx'... $ git fetch origin 77a05bd1bc8906f3cd846628f6051b9ea8e98b13:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/python-networkx * [new ref] 77a05bd1bc8906f3cd846628f6051b9ea8e98b13 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 77a05bd Test with netlib