Installing git
HotDog keeps your site's history with git. Here's how to get it on Linux, macOS and Windows, and tell it who you are.
HotDog CMS builds and checks sites without git, but you'll want it to keep your site's history, and the editor, previews and the pull agent need it.
Do you have it already?
git --version
If it prints a version number, you have it: skip to Tell git who you are.
Linux
Use your system's package manager:
# Debian, Ubuntu, Linux Mint
sudo apt install git
# Fedora, Red Hat, Rocky, Alma
sudo dnf install git
# Arch, Manjaro, CachyOS
sudo pacman -S git
# openSUSE
sudo zypper install git
macOS
Type git --version in Terminal. If git isn't there, macOS offers to install the Command Line Developer Tools, which include it. Choose Install and wait a few minutes. You can also start that yourself:
xcode-select --install
Windows
Download Git for Windows from git-scm.com and run the installer. The default choices are fine. Close and reopen PowerShell afterwards, then check with git --version.
Tell git who you are
Every change you save is signed with a name and email. Set them once:
git config --global user.name "Your Name"
git config --global user.email "you@example.org"
Use the email of your account on your git platform, so your changes are linked to you there.

