![]() ![]() You can also leave the colors running but change them through other configurations. However, if you do not prefer this feature you can turn it off by applying the following command: Git, by default, displays most of its output on Git bash in a colored format. Extra optional configurationsĪt this step, we have successfully configured Git and ready to provide different repository management commands, but if you'd like to know more about other settings, some extra configurations might be of interest.įor example, one of those interesting configurations is controlling Git colors. It's not necessary to get or set Git configurations through commands you can manage the settings by editing the configuration files directly.user.name and user.email will set the username and email.That's why it made sense to configure the username and email with the -global for a particular user and not with -system for all users. -global tells Git to look for the configuration file set at the user level ~/.gitconfig which is specific to each user.-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: Apply the following command to configure your name:.Make sure your Git bash command prompt is open.To configure Git with that required information follow these steps: Those settings are merely your name and your email. However, it's required to provide Git with two basic configurations to be able to manage repositories. Now Git has been installed and responds correctly to commands. Git should respond by providing the Git version and the platform running Git bash as shown in the next screenshot. Git bash terminal should open up, and this is where you will write your Git commands. Double click the "Git Bash" desktop icon.The following steps will check if Git bash has been appropriately installed and responding to Git commands as expected: Now click the button " Download for Windows".īy following the previous steps, you should now notice the Git bash icon added to your desktop. īy the time of writing this post, you will find the download button on the right side of the Git SCM and at the top of the GitHub link as shown in the screenshots below. I want you to open your favorite web browser, and go to. ![]() To start downloading, follow these steps: Let's get straight to bringing Git Bash to your Windows by firstly downloading the setup file. Net developer and would like to use source control with Git on your Visual Studio. Visual Studio Code: Only in case you use VS code in different app developments, you will need to test and configure git integration with it.
0 Comments
Leave a Reply. |