Hacker News
points by handoflixue 1 day ago | 0 comments
The repo's other commits could be from someone else - whereas a commit it wrote itself is guaranteed to be from the correct/local account.
[–] alt227 1 day ago
Can it not check the current credentials that it would potentially be using to make said commit?
[–] jstanley 1 day ago
Sure, I was providing an example of how it could be done, not an exhaustive list.