Download Git
Initial configuration commands
git config --global user.name "Your Name" git config --global user.email "your_email@example.com"
Get course sample code
To clone the Git repository containing the sample code, run the git command as given below:
git clone https://git.ceit.pdn.ac.lk/full-stack-with-java.git/
Access an SSH key secured Git repository from Windows OS
To view text clearly, you may have to play the video at a higher resolution and use the fullscreen mode.
Show on the video:
- Install Git software.
- Enable OpenSSH Client (Via "Manage optional features" system settings).
- Enable OpenSSH Authentication Agent to start automatically (Via "Services" app).
- Generate ssh keys (By using ssh-keygen command).
- Add ssh key to the ssh agent (By using ssh-add command).
- Configure Git to use Windows OpenSSH client (Set GIT_SSH environment variable to "C:\Windows\System32\OpenSSH\ssh.exe").
- Perform a Git operation.