Quickguide Git 2023

Install https://git-scm.com/download/linux https://docs.github.com/en/get-started/quickstart/set-up-git sudo add-apt-repository ppa:git-core/ppa sudo apt update sudo apt install git git --version Configure Configure Git git config --global user.name "Xyz" git config --global user.email "[email protected]" # Enable main as the default branch git config --global init.defaultBranch main # Enable colours git config --global color.ui auto # Check the configuration git config --list Generate SSH key https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent https://docs.github.com/en/authentication/connecting-to-github-with-ssh/using-ssh-agent-forwarding https://docs.gitlab.com/ee/user/ssh.html#generate-an-ssh-key-pair # Generate SSH key ssh-keygen -t ed25519 -C "xxxxx@xxxx....

March 21, 2023 · 2 min · Al3xis

Quickguide - Hugo | Git | Netlify setup

This guide assumes that you have already bought a domain for your website (I recommend Porkbun if you want to buy one now). The domain cost is the only cost needed in this guide. To create, host and publish your website is completely FREE! Hugo installation There are many ways to install Hugo in all major operating systems, described under the Hugo installation documentation To install Hugo on some of the popular Linux distributions:...

February 16, 2021 · 6 min · Al3xis