Git config user.email you want to make the changes apply across all Git projects, use: git config -global user.name 'Steve Scargall' If you haven’t already configured your name and email address within Git, use the following to make changes to the local Git project: git config user.name 'Steve Scargall' This will drop you into your default editor where you can add, remove, or make changes to entries. To edit a configuration, use: git config -global -edit To see where that setting is defined (global, user, repo, etc…).Īlternatively, you can filter the results, using -global, -local, and -system: git config -list -global The local configuration will be in your repository’s. You can use either of the following to display the configuration: git config -list On Linux or Mac, if you have setup a development environment then you have all the necessary tools for signing. This guide provides the necessary steps to creating private & public keys so you can sign your Git commits. Signing guarantees that my code is my work, it is my copyright and nobody else can fake it. It is important to sign Git commits for your source code to avoid the code being compromised and to confirm to the repository gatekeeper that you are who you say you are.
0 Comments
Leave a Reply. |