How to Install Git on Windows 10 | Download, Install and Configure Git Tutorial
HTML-код
- Опубликовано: 21 авг 2024
- To install Git on Windows 10, you can follow these steps:
Download Git for Windows:
Visit the official Git website: git-scm.com/do...
Click on the "Download" button to start the download of the latest version.
Run the Installer:
Locate the downloaded Git executable file (usually named something like "Git-2.x.x-64-bit.exe" for 64-bit systems or "Git-2.x.x-32-bit.exe" for 32-bit systems).
Double-click the file to run the installer.
Configure the Installation:
The installer will prompt you with various configuration options:
Select Components: Leave the default components selected unless you have a specific reason to change them.
Select Destination Location: Choose the installation directory. The default location is usually fine.
Adjusting Your PATH Environment: Choose the default option, "Use Git from the Windows Command Prompt," to add Git to your system PATH.
This allows you to use Git from the Command Prompt or PowerShell.
Choosing the SSH Executable: Use the default, "Use OpenSSH."
Select an Editor: Choose your preferred text editor for Git. VIM is the default, but you can use any text editor you like. I suggest Notepad++.
Choosing HTTPS Transport Backend: Leave the default option, "Use the OpenSSL library."
Configuring Line Endings: Choose the default option, "Checkout Windows-style, commit Unix-style line endings."
Configuring the Terminal Emulator: Choose the default, "Use Windows' default console window."
Configuring Extra Options: Optionally, enable file system caching for improved performance.
Completing the Installation:
Click "Next" to proceed with the installation.
The installer will copy files and complete the installation process.
Launch Git Bash:
After the installation is complete, you can launch Git Bash from the Start menu or use Git from the Command Prompt or PowerShell.
Verify Installation:
To verify that Git has been installed successfully, open a Command Prompt or PowerShell window and run the following command:
git --version
You should see the installed Git version displayed, indicating that Git is ready to use on your Windows 10 system.
That's it! You have successfully installed Git on your Windows 10 computer, and you can now use Git for version control and development tasks.
you're such a great teacher!!! and funny too! I used to be scared of git and command line, now it looks fun and easy! thank you :)
I'm still terrified of it, TBH.
Thanks for such a kind compliment, and thanks so much for watching!
this is just so great for me, thanks for this vid..
Much more to come. Subscribe and stay tuned!
(And thanks for the kind words!)
I grew up using vi, and still use it on Linux a lot.
To check what bit your system uses, press win + x and select system. The resulting page will tell you whether you’re using a 32 or 64
In the video I actually think I say "you're probably on 32 bit" which is a total flub on my part. I meant to say 64. Couldn't correct it after I published it.
However, I did not know the Win+X trick. Thanks. Happy Git!
awesome vid. this is the perfect start to learning git. thanks
I'm glad you enjoyed it!
I didn't want to stop just at the install. You'd be surprised, the few Git commands I demonstrated are the ones you'll use the majority of the time!
really wonder introduction how to use GIT. appreciate your time!
Thanks! I wanted to do more than just show git print out the version number at the command line. It's kinda motivating to see how easy it is to use the tool to clone and commit after you've got Git installed.
Thanks again for watching!
You are amazing Cameron
Glad I could help!
@@cameronmcnz please consider providing lessons on Quarkus some1 told me most big companies use it alot and maybe recomment projects to do thank you
Thanks for your videos. Have a question. When i open git bash, it doesn’t show in terminal window name of the user. And in the caption i don’t see mingw64 but it shows -login -i like you have on(10:52). Bit in your case it changes. In my it stays. I have default settings, just installed this. What it could be?
Thank you very much for this video!! Sincerely.
I do have a question.
I come from a 3D background and our naming conventions use a lot of capitals and no spaces. For easy reading and loading. But you make folders starting with a "_".
I would very much like to understand your reasoning for doing this?
I find it very interesting, but I don't truly get it.
For us, "_" is mostly used for separating topics. Like: mainCharacter_v01, mainCharacter_wet_v01, mainCharacter_normalmap_nr1_v01.exr.
my_first_repo in the techniques that I come from would be myFirstRepo.
This part is just explaining a difference because it is interesting, no point to it.
So..., why do you make folders starting with a _ ?
Thanks you! Cheers,
I do it to piss off my teammates.
I just do it so that when the File System explorer lists your folders, those ones with an _ come first. I just do it to make it easier for people watching my videos to see the important folders.
It's not a good naming convention. Typically _ means 'machine generated code.' Also, the _ can trip up some scripts that are only expecting alpha-numeric characters.
So, I like doing it, but it may make you unpopular with your fellow developers. It's not a standard practice.
@@cameronmcnz I love that.
Thank you, my first time in GIT =)
thank you i just wanted to install git but now i know what all those strange buttons in dropdown menu actually mean and also why when i change branches files on my computer are changing mystery solved
7:17
😁😁😁😁😁
wtf is git. i use it sometimes, but i have no freaking clue whats really going on. i dont understand how I am able to get stuff working, sometimes.
Github is a code repository. You put your code there and can update your code everytime you make changes to it. And people can download the code from your project if you allow it for their own use. Or contribute to it theirselves. Or list bugs they find for you to fix.