Git

Version control with git. Clone, branch, commit, push. Required for repo workflows.

saolalab Updated

File contents

Git Skill

Use git for version control. Essential for tasks that involve pulling code, making changes, and creating PRs.

Common workflow (code tasks)

  1. Clone or pullgit clone <url> or git pull origin main
  2. Branchgit checkout -b feature/description
  3. Edit — Make changes (prefer coding tools: Claude Code, Gemini CLI, Codex CLI)
  4. Stage and commitgit add . then git commit -m "message"
  5. Pushgit push -u origin <branch>
  6. Create PR — Use gh pr create (see github skill)

Key commands

git status
git branch --show-current
git log --oneline -5
git diff
git remote -v

GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL are set by the agent's variables for commits.

saolalab/clawforce/tree/main/marketplace/roles/software-engineer/workspace/skills/git commit 29274aadb1

Frequently asked questions

npx skillmds@latest add saolalab/git