If you don't have Git already installed, I recommend installing it through Homebrew. (https://brew.sh/)
The command you need to run is: brew install git
Configuring Git
Before we move forward, adapt the following commands with your name and email.
git config --global user.name "Your full name"
git config — global user.email "
[email protected]"
ssh-keygen - use this to generate your private/public key pair
ssh-add -K ~/.ssh/id_rsa - use this command to store your passphrase in your macOS keychain.
Here are again all the steps from the video:
https://medium.com/devops-with-valentine/2021-how-to-setup-your-ssh-key-for-gitlab-on-macos-dfccec6904fb
Video Time Stamps:
⌨️
00:00 - Intro
⌨️
00:22 - Git Installation & Setup
⌨️
03:38 - Using GitLab With SSH Key
⌨️
06:10 - Generate Key Pair
⌨️
07:32 - Protect Key With Passphrase
⌨️
08:52 - Adding SSH Keys Into GitLab
⌨️
11:01 - Adding Passphrase
⌨️
11:56 - Another Configuration Using Editor
⌨️
12:48 - Getting Out Of Insert Mode
___
// GitLab CI/CD ONLINE COURSE
👉 Want to learn more about CI/CD pipelines? Check my GitLab CI online course.
Get it at a special price and help support this YouTube channel:
http://www.vdespa.com/courses
___
// I HAVE A QUESTION!
I do my best to answer all comments here on YouTube but I cannot make any guarantees.
___
// I HAVE A VIDEO IDEA
Do you want me to create a video on a specific topic? Just fill out the form below:
https://forms.gle/uWEzXFQ2viJtZtvZ7
___
// P L A Y L I S T S
▸ Learn Gitlab CI | https://www.youtube.com/playlist?list=PL6iUkDSEH9SumTY7OSLmcMeFmRtQsQvNn
___
// F R E E R E S O U R C E S
▸▸▸ Official Gitlab CI documentation
https://docs.gitlab.com/
▸▸▸ 👉 Subscribe to the "Testing and automation with Valentine" newsletter for bi-weekly tutorials, tips, and news from the industry.
http://eepurl.com/gPwpU1
___
// YOUR SUPPORT ON PATREON MATTERS
If you enjoy this content, help me create more like this. Consider supporting me on Patreon.
https://patreon.com/vdespa
___
// IMPRINT
http://vdespa.com/imprint
---