Git

Git version control operations: commits, branches, merges, rebases, history.

Producible Updated

File contents

Git Skill

Use git for version control operations.

Common Commands

Status & History

git status
git log --oneline -20
git diff
git diff --staged

Branching

git branch -a
git checkout -b feature/new-branch
git switch main
git merge feature/new-branch

Committing

git add <files>
git commit -m "description of changes"
git push origin <branch>

Stashing

git stash
git stash pop
git stash list

Producible/cereworker-skills/tree/main/skills/git commit b285c697a3

Frequently asked questions

npx skillmds@latest add producible/git