GithubHelp home page GithubHelp logo

Comments (3)

Shegox avatar Shegox commented on June 2, 2024

I assume this is about uber/piranha#577, right?

Looking at the commits it seems that two of the three commits are indeed associated with your GitHub account. The third commit is associated with Kevin Tran <[email protected]> (https://github.com/uber/piranha/commit/1d5af6467a5088e4f0c5b1d52c9976eafbc30d31.patch). GitHub uses the email address to map commits to users and because that is not your valid email it can't map it.

Here is a good article how you can rewrite the commits with your proper email address and repush them: https://www.git-tower.com/learn/git/faq/change-author-name-email

Notice that you actually need to perform a force push, overwriting the existing commits.

from cla-assistant.

kevtran2 avatar kevtran2 commented on June 2, 2024

I followed the article to change the author, but it seems git is still seeing my commits as a contribution from 3 emails(2 of my personal emails, and the local username@host([email protected]) seen from my terminal prompt. How can I get around this?

from cla-assistant.

Shegox avatar Shegox commented on June 2, 2024

Two options:

Run git reset 3955145e21b6fb20535a61c53f26a1d7f27c875a (latest commit on upstream master). This will reset git to the status before you added your changes and you can redo your commit. Check that it now looks properly with git log. Afterwards force push (git push --force) your changes up and you should see only a single commit.

- or -

  1. Checkout the master branch of the repository you want to contribute to (git checkout master)
  2. Create a new branch for your contribution from master (git checkout -b typescript-support)
  3. Run git cherry-pick 1d5af6467a5088e4f0c5b1d52c9976eafbc30d31 to cherry pick your one "content" commit
  4. Amend the just cherry picked commit with git commit --amend --author="John Doe <[email protected]>" with your proper name and email.
  5. Lastly use git log to confirm that the information got updated.
    It should look like this:
    image
  6. Finally push the change up to your forked repository with git push https://github.com/kevtran2/piranha typescript-support
  7. Now open the Pull Request

from cla-assistant.

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.