Current location - Recipe Complete Network - Complete cookbook of home-style dishes - How does github judge who committed the crime through ssh?
How does github judge who committed the crime through ssh?
In GitHub, you can determine who submitted it by looking at the commithistory. Each submission contains the name and email address of the submitter, which is usually obtained by Git from the local configuration when the user submits.

However, it should be noted that SSH is not the most accurate way to judge who submitted it. Because SSH is only a secure way to connect to the GitHub server, it is not directly related to a specific submission or user.

If you want to know who submitted it locally, you can use the gitlog command to view the submission history. For example:

`` carnival

gitlog - pretty=format:"%h-%an,%ar:%s "

```

This will output the simplified hash, author name, relative date and submission message of each submission.

If you want to check who submitted it in a remote warehouse (such as GitHub), you can check the "commits" page of the warehouse on the web interface. This will display a list of all submissions, including the submitter's username and submission message.

Generally speaking, submitter information is more based on the user's Git configuration than SSH connection.