![]() -system tells Git to look for the configuration file placed system-wide /etc/gitconfig which applies to every user on the system.After git config, both -global or -system can be used as a parameter to let Git easily find the configuration file to edit and modify the supplied configurations.git config is primarily used to set or get any Git configurations.If you're not interested to know how Git worked to configure the username and email you can safely skip this sub-section.Īs shown in the previous configuration commands: Which will list all the global configurations that have been set for Git so far as shown in the below screenshot ![]() Git config -global user.email make sure that both configurations have been set correctly we can check by typing the following command: Git config -global user.name "Your Name"Then apply the next command to configure your email:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |