Тёмный

How to Install Git on Windows 10 | Download, Install and Configure Git Tutorial 

Подписаться
Просмотров 10 тыс.
% 192

To install Git on Windows 10, you can follow these steps:
Download Git for Windows:
Visit the official Git website: git-scm.com/download
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.

Опубликовано:

 

5 сен 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@HappyHealthyWealthyYou
@HappyHealthyWealthyYou 5 месяцев назад
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 :)
@cameronmcnz
@cameronmcnz 5 месяцев назад
I'm still terrified of it, TBH. Thanks for such a kind compliment, and thanks so much for watching!
@ijsljr
@ijsljr 3 месяца назад
awesome vid. this is the perfect start to learning git. thanks
@cameronmcnz
@cameronmcnz 3 месяца назад
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!
@pwalker1360
@pwalker1360 Месяц назад
I grew up using vi, and still use it on Linux a lot.
@PUZO37RS
@PUZO37RS 10 месяцев назад
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?
@ybfxtv
@ybfxtv 10 месяцев назад
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
@user-ge7ze2bz9h
@user-ge7ze2bz9h 6 месяцев назад
really wonder introduction how to use GIT. appreciate your time!
@cameronmcnz
@cameronmcnz 6 месяцев назад
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!
@rsacityzens
@rsacityzens 8 месяцев назад
You are amazing Cameron
@cameronmcnz
@cameronmcnz 8 месяцев назад
Glad I could help!
@rsacityzens
@rsacityzens 8 месяцев назад
@@cameronmcnz please consider providing lessons on Quarkus some1 told me most big companies use it alot and maybe recomment projects to do thank you
@silver-wp7ky
@silver-wp7ky 8 месяцев назад
Thank you, my first time in GIT =)
@HypedHazard456
@HypedHazard456 9 месяцев назад
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
@cameronmcnz
@cameronmcnz 9 месяцев назад
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!
@FromLake
@FromLake 9 месяцев назад
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,
@cameronmcnz
@cameronmcnz 9 месяцев назад
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.
@FromLake
@FromLake 9 месяцев назад
@@cameronmcnz I love that.
@alimansimov1929
@alimansimov1929 4 месяца назад
7:17
@jessygirard4726
@jessygirard4726 4 месяца назад
😁😁😁😁😁
@BLASTIC0
@BLASTIC0 7 месяцев назад
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.
@wvguy7238
@wvguy7238 4 месяца назад
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.