This is something that has always annoyed me, but ever since github changed their authentication methods I’ve never been able to successfully cache/store my github authentication tokens for pushing/pulling from repositories.

None of the key storage/auth methods worked for me after multiple attempts… so here is my workaround for quick token usage that suits me just fine.

Install AutoKey

Create a macro with your key

For this I used the macro ctrl+j  but you can set anything you want.

  1. Click New -> Phrase

2. Paste your token in the field,  set your hot key, click save.

That’s it!  Now in your terminal when you get prompted for github credentials simple hit your hot key (

 


Leave a Reply

Your email address will not be published. Required fields are marked *

Hey You, Want More?Drop your email below and I'll send you a collection of my best Posts/Essays