Post ADC3mJlOLbLgJLjS08 by samir@fosstodon.org
 (DIR) More posts by samir@fosstodon.org
 (DIR) Post #ADBryvhxteoA1HNQ3c by pyre35@fosstodon.org
       2021-11-08T12:06:46Z
       
       0 likes, 0 repeats
       
       git is giving me problems. Just trying to do a git push, and can't seem to remember the commands for updating my personal access token. Token is updated, then when I push it asks for my username and password. Authentication fails. Do I need to configure it globally first?
       
 (DIR) Post #ADBsLeLgbXBqqCn1Rw by pyre35@fosstodon.org
       2021-11-08T12:10:53Z
       
       0 likes, 0 repeats
       
       nvm, just forgot how to copy and paste into the terminal...
       
 (DIR) Post #ADBzxUOgkfo4ezBUbQ by arielcostas@fosstodon.org
       2021-11-08T13:36:09Z
       
       0 likes, 0 repeats
       
       @pyre35 you should really configure git over SSH, much less painful than HTTPS. No need to deal with username/password or access tokens, just an SSH key and a passphrase (optional but recommended)
       
 (DIR) Post #ADC0KprR7HaHtAlNo0 by pyre35@fosstodon.org
       2021-11-08T13:40:12Z
       
       0 likes, 0 repeats
       
       @arielcostas hm, I'll have to look into this. Thanks!
       
 (DIR) Post #ADC3mJlOLbLgJLjS08 by samir@fosstodon.org
       2021-11-08T14:18:56Z
       
       0 likes, 0 repeats
       
       @pyre35 @arielcostas I agree.  Take a look at https://git-scm.com/book/en/v2/Git-on-the-Server-Generating-Your-SSH-Public-KeyI also wrote a post recently on my blog about setting up a Git server using SSH.