Sunday, July 24, 2022

[SOLVED] Github Credentials Difference on Linux and Windows

Issue

I'm using HTTPS clone method in Bitbucket. But I still wonder why in Windows I dont need to use credentials helper and even only need to login once (and that's through a GUI) everytime I push, pull and etc. But in Ubuntu I have to use credential helper otherwise I have to type my username and password in every command I did and it's through terminal. Can anyone explain this to me? And is there anything I can do in Ubuntu so I dont have to use credential helper which has timeout? Thanks a lot..


Solution

There is no another way dude :(

You Can Try This

Ubuntu Command for caching Your Credentials

Change Your Timeout Whatever You want.

$ git config --global credential.helper cache
$ git config --global credential.helper 'cache --timeout=3600'

Happy Coding :)



Answered By - Darshit Hedpara
Answer Checked By - Pedro (WPSolving Volunteer)