GithubHelp home page GithubHelp logo

Comments (2)

danulqua avatar danulqua commented on May 23, 2024

@czfrance could you help me, please? Seems like script imports nothing to my mock repository.
That's how I configured paths to my repos:

# Your private repo or Bitbucket repo
repo = git.Repo("/Users/danil0110/dev/mock-repos/mumidis-front")
# Your mock repo
mock_repo = git.Repo("/Users/danil0110/dev/mock-repos/mock-repo")

If I run my script, I see logs which analyse every commit and saying that it doesn't include commits that was created not by me.
But when I enter my mock-repo and write git push - I keep getting this error:

> git push -u origin master
error: src refspec master does not match any
error: failed to push some refs to 'https://github.com/danil0110/mock-repo.git'

Also, I opened this folder in VSCode to look through commits in the Git tab, and there were no commits, repo was empty.

from contributions-importer-for-github.

Lukas238 avatar Lukas238 commented on May 23, 2024

Hi!

I've run the python script specified in the README (after entering in the appropriate info). While running the script, the commits from the original repo appear in the logs, but when I go to push the mock repo, the contributor graph doesn't appear.

Hi, I got a similar issue myself. I was uploading my mock-repo from my company issued computer. So in this machine I have my company email configured as my primary git user email.

This means that the mock-repo got pushed with my company email as user (you can change the email user for an individual repo, but I forgot to do so). And after I pushed this to github, no new contributions were showing up.

The fix for me was to add my company email as a secondary email on my github account, on Settings\Public profile\Public email menu.

Of course, you can simple change the email address on your local mock-repo as well with this command: git config user.email "[email protected]".

Best regards!

from contributions-importer-for-github.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.