Git Workflow

Standard git workflow for the knowledge base and projects.

Configuration

git config --global user.name "red40mademedoit"
git config --global user.email "xxxpr0m3th1umxxx@gmail.com"

SSH Key

Location: ~/.ssh/github_ed25519

SSH config (~/.ssh/config):

Host github.com
    HostName github.com
    User git
    IdentityFile ~/.ssh/github_ed25519

Daily Workflow

Quick commit & push:

cd ~/Documents/notes.shdwnet.org
git add .
git commit -m "Update notes"
git push

Check status:

git status
git log --oneline -5

Pull latest:

git pull