Overview : | |
We have created a repository, it has nothing, we need to push the code in it , to push/upload the code we have three ways , they are HTTPS, SSH, HTTPS (GRC), in among them SSH will be commonly/mostly used way/methodMost of the developers uses git for source code management/version control , using the git we push/upload the code from local machine to aws codecommit |
Downloading & installing git on local windows machine – using Chocolatey :
Step -1 : Open powershell using administrator access
Step -2 : Install Chocolatey : Open the below weblink for the documentation
π | https://chocolatey.org/install#individual |
Step-3: Copy the below command and run at powershell
π | Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(‘https://community.chocolatey.org/install.ps1’)) |
Step – 4 : Install git : Run command the below command in powershell to install git
π | choco install git -y |
Β Git was successfully installed.