Site Tools


github

SSH config

>ssh-keygen -t ed25519 -C "mathieugfortin@gmail.com"
Generating public/private ed25519 key pair.
Enter file in which to save the key (/root/.ssh/id_ed25519): 
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_ed25519.
Your public key has been saved in /root/.ssh/id_ed25519.pub.
The key fingerprint is:
SHA256:uFOPnKGEfi+WQNUJNRHJQcH392a5iKSf+rygGd4Unho mathieugfortin@gmail.com
>eval "$(ssh-agent -s)"
>ssh-add ~/.ssh/id_ed25519
>ssh-add ~/.ssh/id_ssh_for_patate
>more ~/.ssh/id_ed25519.pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICoE3yRNPyzKbe4lx1DrPZvXeSwUbhIHwGDebBtZxwg8 mathieugfortin@gmail.com

Dans github, settings, SSH and GPG key, add key

github repo dans unraid

cd /mnt/cache/cache_only/working/github/ 
mkdir repo
cd repo
git init
git remote add origin  ssh://git@github.com/mathieugfortin/repo.git

nouveau projet

git init git add . git remote add origin https://github.com/mathieugfortin/budgetdb.git git commit -m “First commit” git branch -M main

#create new branch git checkout -b create_calendar_view git push origin create_calendar_view

authenticate with code-server

open GitHub and do the following:

  • Navigate to the “Settings” page
  • Click “Developer settings” in the sidebar
  • Click “Personal access tokens” in the sidebar
  • Click “Generate new token”
  • Fill in the form to create a new token

in \mnt\cache\cache_only\working\github\budget\.git\config, replace the token at the beginning of the URL

github.txt · Last modified: by 127.0.0.1