How To Permanently Store GIT Credentials ?

Abhishek Rawal

Abhishek Rawal

@abhishek-fg9tRh Oct 26, 2024
Everytime I push or commit change in github, I have to manually add github username and password. I did configured first time github credentials but I guess I am doing some mistake, because after every 180 minutes the credentials are wiped off.

Screenshot from 2015-02-13 18:50:32

Help!

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Anoop Kumar

    Anoop Kumar

    @anoop-kumar-GDGRCn Feb 13, 2015

    I think you already seen this, but sharing here
    s#-Link-Snipped-#For Git1.7.9
    git config --global credential.helper "cache --timeout=3600"
    This one might be useful for git 1.8
    #-Link-Snipped-#
  • Abhishek Rawal

    Abhishek Rawal

    @abhishek-fg9tRh Feb 13, 2015

    Anoop Kumar
    I think you already seen this, but sharing here
    s#-Link-Snipped-#For Git1.7.9
    git config --global credential.helper "cache --timeout=3600"
    This one might be useful for git 1.8
    #-Link-Snipped-#
    So there is no way to store credential permanently without gnome-keyring or Kwallet.