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

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

Valentin Despa

54 года назад

52,751 Просмотров

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

---

Тэги:

#new_gitlab_ssh_key_for_profile #gitlab_tutorials_for_beginners #git_for_macOS #using_ssh_on_macOS #setup_git_path_in_macOS #gitlab_tutorial #gitlab_ce_tutorial #git_installation_on_macOS #how_to_install_git_on_macOS #ssh_keys_gitlab_macOS #how_to_create_ssh_key_in_gitlab #macOS_ssh #gitlab_for_projects #macOS_openssh #gitlab_install_macOS #gitlab_install_on_macOS #how_to_install_gitlab_runner_on_macOS
Ссылки и html тэги не поддерживаются


Комментарии: