1. Fork a repo.
2. Make a commit using someone else's email address.
3. Push to Github.
You can then link to the commit in the original repo and it will look like it came from someone else.
11–18 of 18 posts
1. Fork a repo.
2. Make a commit using someone else's email address.
3. Push to Github.
You can then link to the commit in the original repo and it will look like it came from someone else.
Anyone can do this. 1. Fork a repo. 2. Make a commit using someone else's email address. 3. Push to Github. You can then link to the commit in the original repo and it will look like it came from someone else.
Why is it committed by nat himself? I assume it's a tease of github source code being open sourced similar to GitLab?
How to commit as nat: ``` git config --global user.name "Nat Friedman" git config --global user.email "nat@nat.org" git add . git commit -m "felt cute, might put gh source code on dmca repo now idk" ```
You can pretty much add any email address to commits. This is why you cannot trust any commit unless they've been signed with a public key assigned to an account or email address (aka "Verified" on Github/Gitlab, or verified with a trusted GPG key, or some other method you consider reliable enough for code signatures).
The git book has an explanation on how to set up code signing if you're curious: https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work
Anyone can do this. 1. Fork a repo. 2. Make a commit using someone else's email address. 3. Push to Github. You can then link to the commit in the original repo and it will look like it came from someone else.
But where do you get the GitHub source code for step 2?
Earlier quoted context omitted.
But where do you get the GitHub source code for step 2?
Work for a company that licenses GitHub Enterprise and lift the source code from the appliance https://enterprise.github.com/faq
Earlier quoted context omitted.
Work for a company that licenses GitHub Enterprise and lift the source code from the appliance https://enterprise.github.com/faq
I'm surprised that it includes a README and other development-only files. I would have expected they would have removed anything that's not necessary for actually running the site, to minimize risk.