Table of Contents
command, tool, package
first check that git
exist
git
it should show something like this:
usage: git [--version] [--help] [-C <path>] [-c <name>=<value>] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare] [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>] [--super-prefix=<path>] [--config-env=<name>=<envvar>] <command> [<args>]
if not exist, then install using pkg
command
pkg install git
ssh-keygen ssh-keygen -t ed25519 -C"<email>" ssh-add .ssh/id_ed25519 cat .ssh/id_ed25519 # private key cat .ssh/id_ed25519.pub
first time on machine
git config --global user.email <email> git config --global user.name <name>