Setup Git for using GitLab (including SSH key) - macOS

Published: 29 April 2021
on channel: Valentin Despa
50,872
1k

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:
  / 2021-how-to-setup-your-ssh-key-for-gitlab-...  


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 |    • Gitlab  

___

// 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.
  / vdespa  

___

// IMPRINT

http://vdespa.com/imprint

---


Watch video Setup Git for using GitLab (including SSH key) - macOS online without registration, duration hours minute second in high quality. This video was added by user Valentin Despa 29 April 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 50,872 once and liked it 1 thousand people.