soramimi / Guitar

Git GUI Client
https://soramimi.github.io/Guitar/
GNU General Public License v2.0
1.57k stars 124 forks source link

password not saved #111

Open Gillissie opened 3 years ago

Gillissie commented 3 years ago

Hi, thanks for making this program for Raspberry Pi. Whenever I push a commit, it asks me for my github user name and password. I wish it would save this information so I don't have to keep typing it in. Especially the password, since github requires a personal access token, which is long and impossible to memorize and type each time. I have to keep it stored in a local text file to copy/paste every time.

tommai78101 commented 3 years ago

I think you will need to set up your git first for this.

Run git config --global credential.helper store && git pull in your Git repository. It will ask you for your credentials one last time. After that, you won't see it ever again.

Gillissie commented 3 years ago

Thanks, that worked. But for people that don't know the command-line tricks of git, it would be nice to have this as an option in Guitar. I mean, that's the reason I use GUI interfaces for git, because I don't want to deal with all the command-line stuff directly.