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

preview_player
Показать описание

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.

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:

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:

___

// 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:

___

// P L A Y L I S T S

___

// F R E E R E S O U R C E S

▸▸▸ Official Gitlab CI documentation

▸▸▸ 👉 Subscribe to the "Testing and automation with Valentine" newsletter for bi-weekly tutorials, tips, and news from the industry.

___

// YOUR SUPPORT ON PATREON MATTERS

If you enjoy this content, help me create more like this. Consider supporting me on Patreon.

___

// IMPRINT

---
Рекомендации по теме
Комментарии
Автор

👉 Want to learn more about CI/CD and DevOps? Check my Gitlab CI online course.

vdespa
Автор

Without doubt one of the clearest tutorials for what could be a painful process, on YouTube. Excellent work.

jasonwhittaker
Автор

Absolutely one of the best tutorials I've ever watched on YouTube, definitely subscribing

nifitic
Автор

Perfect! It worked on my Mac machine on 5 December 2024
Thank you!

andrews
Автор

super clear with indication of all the potential things could happen during the journey! Well ordered too. Thanks a lot.

JuliaTong-jbti
Автор

you're the greatest guy in the tech industry just saying

kaiopedreira
Автор

Wowww! Just wonderful video.. Just watching more than 10 videos and couldn't find but this video was spot on! 🔥 Love it ❤️

adamameen
Автор

Very helpful! Thank you so much for the explanation!

ValenMeicellaIshen
Автор

You saved my life with this tutorial <3

mrrodrica
Автор

Thaks a lot..Your explanation is very clear!

ozzykozy
Автор

Very helpful indeed. Straightforward explanation and steps. Thank you! like and subscribe deserved

darwinturingan
Автор

thanks a lot! ! ! keep sharing your knowledge

honeyboydelapena
Автор

See you next time after my key is expired again. Thank you so much! 😎

bananagrill
Автор

Wonderful video, very smooth process, thanks :)

deeprajchowrasia
Автор

Great video. In the newest version at the moment of adding the ssh it prompts "WARNING: The -K and -A flags are deprecated and have been replaced
by the --apple-use-keychain and --apple-load-keychain
flags, respectively."
Could you maybe provide some info on how to use these commands?

carlocenedese
Автор

Hey! Thank you so much, your video helped me a lot.

yuriypetrik
Автор

Hello if anyone facing an error just don't provide any name to the key when prompted just press return / enter.

For some reason when providing a name it doesn't save the key in ssh folder which leads to failure

vinni-the-goon
Автор

Followed steps but for git clone…….. getting error permission denied fatal could not read from remote repository

Dipak
Автор

When I use with method SSH, dont work
but when I use HTTPS, work.
The message when I use the method SSH
'remote: The project you were looking for could not be found or you don't have permission to view it.'

cauanboss
Автор

Hey :) thanks for great tutorial, much appreciated. Could you please tell me what is 'the add on' to make the git branches so colourful? :) Thanks!

BeataSadek