Blog available for sell
This blog is available for sale. Please 'contact us' if interested.
Advertise with us
Avoid typing git credentials everytime. Use git credentials manager.

Are you tired of typing the Git username and password 512 times a day?

Use Git Credential Manager (GCM). This supports all major version control tools, GitLab, GitHub, Bitbucket, etc.

Here are the steps to set up GCM.


Download the GCM Deb file from here -


Install it using the below command:

sudo dpkg -i <path-to-package>

Configure it.

git-credential-manager configure


Go to your .bashrc file and copy-paste this line at the bottom.

export GCM_CREDENTIAL_STORE=plaintext

Restart the terminal.

Now you have to type the credentials just once and they will be stored on your system.

Note: There are many other ways to store the credentials. Storing credentials in plain text format is unsafe but convenient. This does not require any more packages to work.

You may explore more ways to store the credentials here

Read More:

0 comments on 'Avoid Typing Git Credentials Everytime. Use Git Credentials Manager.'
Login to comment

Related Articles:
Using git hooks to boost your productivity
Writing a proper git message is a good coding practice. A good commit message should clearly convey what has been changed and why it has been changed. Sometimes developers use an improper message in a hurry to commit and push the changes. Here is a working hook that enforces the developer to use a commit message of 30 characters. you may start including the branch name in the commit message using git hook....
DigitalOcean Referral Badge

© 2022-2023 Python Circle   Contact   Sponsor   Archive   Sitemap