Commit and Push Skill (Standard Git)
Create clean, atomic Conventional Commits using standard git commands and push them to origin.
Workflow
- Inspect status and diff:
```bash
git status --porcelain
git diff --staged
git diff
```
- Stage files:
```bash
git add <file1> <file2> ...
```
- Commit:
Formulate a Conventional Commit message and commit:
```bash
git commit -m "<type>(<scope>): <summary>"
```
- Push:
Detect current branch and push:
```bash
BRANCH=$(git branch --show-current)
git push origin "$BRANCH"
```
If pushing a new branch for the first time, append -u:
```bash
git push -u origin "$BRANCH"
```