Installing Git on Windows 10 with Scoop (apt-get) in 4 Minutes

preview_player
Показать описание
In this video, we will show you how to install Git on Windows 10 with Scoop (apt-get).

As you know, Git is a fast, scalable, distributed revision control system and Git has been designed with performance, security and flexibility in mind. So Git is the best choice for most software teams today.

Scoop is a command-line installer for Windows. It looks like apt-get on Ubuntu / Debian or Homebrew on Mac OS X, so that Scoop helps you get the programs you need, with a minimal amount of point-and-clicking. And these are some steps to install Git on Windows 10 with Scoop:

STEP #1 » Open Windows Powershell.

STEP #2 » Run these commands to install Scoop.

$ set-executionpolicy remotesigned -s cu → Choose Y
$ scoop help

STEP #3 » Install Git with Scoop.

$ scoop search git
$ scoop install git

STEP #4 » Make Git Worked with SSH

$ scoop search ssh
$ scoop install openssh
$ [environment]::setenvironmentvariable('GIT_SSH', (resolve-path (scoop which ssh)), 'USER')

That's all.

Additionally, these are 5 reasons why you need to use Git:

1. Git is Multi-platform → Git was built for the Linux kernel, but supports other platforms. Most major IDEs and code editors have Git integration, making the git command line optional.

2. Git is free → Git is open sourced under the GNU General Public License version 2. All the code is up on github.

3. Git is fast → Git was built from the ground up to scale, both in terms of number of participant and branches, as well as overall repository size.

4. Work Offline → Almost everything is possible simply on your local machine: make a commit, browse your project’s complete history, merge or create branches… Git lets you decide where and when you want to work.

5. Branching → Git allows us to easily share branches, keep them up to date, and merge them back into master.

Thank you for watching our video tutorial.

Рекомендации по теме