News for hackers. Stuff that matters.
Re:How to take credit for someone else's work on GitHub by giancarlostoro on Monday February 28, 2022 @03:11PM (#30504503)
Does this redo all the commit hashes?
Re:How to take credit for someone else's work on GitHub by nynyny7 on Monday February 28, 2022 @03:17PM (#30504571)
Yes, as it is rewriting history. And that would be a massively bad idea.
Re:How to take credit for someone else's work on GitHub by giancarlostoro on Wednesday March 02, 2022 @01:02PM (#30530468)
Thank you, wanted to know, if so, this should really be noted when suggesting these sort of things since it has unaccounted consequences especially when you consider most people use git but don't necessarily know how to use it beyond the basics.
Re:How to take credit for someone else's work on GitHub by progval on Monday February 28, 2022 @05:40PM (#30506158)
Given that GGP's use case is:

> we have imported our entire project's history going back to the very first commit into git

Then it isn't a problem. Just change the email addresses while importing.

Re:How to take credit for someone else's work on GitHub by Cthulhu_ on Tuesday March 01, 2022 @03:56AM (#30511449)
But what if you don't think of it at the time?

Or what if you don't actually want to change the e-mail addresses because they are important historic data? or part of a commit's signature?