Find by Category

Saving git credentials name email and token

Let’s quickly save git name, email and token on Linuxmint or Ubuntu or any other unix terminal based system to use it again and again and again.

To create token

Git Account > Settings > Developer Settings > name token > check token privileges > generate token and copy and save.

Launch your terminal and get started.. Make you sure you have your git account credential and also have created your git token.

git config --global credential.helper store
git config --global user.email "your_email@yahoo.in"
git config --global user.name "git_user_name"
git config --global user.password "git_token"
cat .gitconfig
[color]
	ui = true
[user]
	name = git_user_name
	email = your_email@yahoo.in
	password = git_token_long_string
[credential]
	helper = store

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

nakshatra astrology course