Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save avr248/1a9220972a15a605f6e7ea25c76b3be4 to your computer and use it in GitHub Desktop.

Select an option

Save avr248/1a9220972a15a605f6e7ea25c76b3be4 to your computer and use it in GitHub Desktop.

Revisions

  1. @nosmall nosmall revised this gist Jun 6, 2022. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion Setup Git and Github in Ubuntu 20.04.md
    Original 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/
  2. @nosmall nosmall created this gist Jun 6, 2022.
    24 changes: 24 additions & 0 deletions Setup Git and Github in Ubuntu 20.04.md
    Original 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
    ```