跳到主要内容

Github In Ubuntu -

git pull origin main For a full sync (fetch + merge):

ssh-keygen -t ed25519 -C "your-email@example.com" Display the public key and add it to GitHub (): github in ubuntu

sudo apt install gitk git-gui Run gitk to see history or git gui to stage changes. Cache your password/token for a few hours: git pull origin main For a full sync

cat ~/.ssh/id_ed25519.pub Test the connection: github in ubuntu