![]() ![]() Setting your name and your email address is the first step. If you have Chocolatey installed on your machine and it's your package manager of choice you can use the following command to install Git: choco install gitīefore we start to use Git there are a few things that we need to configure. If you have Windows Package Manager installed on your machine, you can use the following command to install Git: winget install git.gitĬhocolatey is an open source package manager that can help you install, manage and upgrade software on your Windows desktops and servers. ![]() It can help you install, manage and upgrade software on your Windows desktops. Windows Package Manager (winget) is an open source package manager developed and built by Microsoft. Git Installation Install Git with Windows Package Manager The installation process should now begin. I tend not to install any experimental options, but again if you have a need or want to try them that is something for you to decide. ![]() It is best to leave the default option by using the built in Git Credential Manager.īest to go with the defaults here, unless you have any other need to configure them. When working with external Git repositories it is best practice to use multi-factor HTTPS authentication. And until you get more familiar with Git and it's workings it is the best option. Most tutorials you will follow will assume you are using this setting. It is best to leave this option at "Default (fast-forward or merge)". This is another setting that is best left at the default MinTTY option. I prefer to leave this option as is by choosing OpenSSH. I recommend using the default option here to configure the PATH settings. When you use a tool within the command line without specifying the full location path, you need to configure it so that Windows knows where the tool is. You can confirm it so that it will use another name. When you create a new repository, by default Git will call that first branch "master". The default is Vim, however I would suggest picking one you are more familiar with. When you get to choosing the default editor used by Git, you have the option to select from a list of editors. You can leave the next screen at it's default setting. This can be useful later on, especially if you are planning on using Visual Studio Code or another editor that has a built in terminal window. The other optional component you might want to consider is the "Add a Git Bash Profile to Windows Terminal". You may want to select the option to install an icon on your desktop and set it to check for updates daily. The defaults are generally okay to get you started with Git. The install is down through a wizard, you will be asked some basic questions:Īnd then you will be asked what components you should install. Once you have downloaded the right file, double click on it to start the install.Head over to and download the latest version of the client.We'll focus on Windows installation methods here. Git is a tool that can be installed on your macOS, Windows or Linux operating system. Now it's time to get hands on with Git and get the tool installed on my computer. So far on my 14 days of Git learning journey I have dug into: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |