Forked from nosmall/Setup Git and Github in Ubuntu 20.04.md
Created
April 24, 2025 20:58
-
-
Save avr248/1a9220972a15a605f6e7ea25c76b3be4 to your computer and use it in GitHub Desktop.
Revisions
-
nosmall revised this gist
Jun 6, 2022 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ # Setup Git and Github in Ubuntu 20.04 ### Install git for sure ``` sudo apt install git -y @@ -21,4 +23,4 @@ Enter cat ~/.ssh/id_ed25519.pub ``` ### Source: https://cis106.com/guides/Ubuntu%20Github%20Setup/ -
nosmall created this gist
Jun 6, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ ### Install git for sure ``` sudo apt install git -y ``` ### Setup Git username & email ``` git config --global user.name 'nosmall' git config --global user.email '[email protected]' ``` ### Setup new SSH authentication ``` ssh-keygen -t ed25519 -C "[email protected]" Enter Enter ``` ### Copy new public ssh key to github page, settings > SSH and GPG Keys (https://github.com/settings/keys) ``` cat ~/.ssh/id_ed25519.pub ```