GitLab - SSH Key Setup | How to fix Git Asking for Passwords with git config credential.helper

Published: 01 January 1970
on channel: Akash Kumar
19,387
120

GitLab - SSH Key Setup
How to fix Git Asking for Passwords with git config credential.helper

Agenda for this video:
Setting up git config
How to fix when Git Always ask for Credentials
How to Set up SSH Key and use the Key with GitLab


To set your global username/email configuration:
Open the command line.
Set your username:
git config --global user.name "FIRST_NAME LAST_NAME"
Set your email address:
git config --global user.email "[email protected]"
To set repository-specific username/email configuration:
From the command line, change into the repository directory.
Set your username:
git config user.name "FIRST_NAME LAST_NAME"
Set your email address:
git config user.email "[email protected]"
Verify your configuration by displaying your configuration file:
cat .git/config

For credentials:
git config --system credential.helper
git config --global credential.helper
git config --local credential.helper

To configure with ssh keys:
$ ssh-keygen
Copying the public key to GitLab

Go and open the id_rsa.pub file (you can use any text editor you want).
Copy the entire content of that file and then open https://gitlab.com/profile/keys.

Document for GitLab:
https://docs.gitlab.com/ee/developmen...

#GitLab - SSH Key Setup
#GitLab
#GitLabCI
#GIT
#SSH
#credential.helper


Watch video GitLab - SSH Key Setup | How to fix Git Asking for Passwords with git config credential.helper online without registration, duration hours minute second in high quality. This video was added by user Akash Kumar 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 19,387 once and liked it 120 people.