# Commit and Push Git Changes

Committing and publishing routine changes can require several Git commands. This skill stages all changes, creates one commit, and pushes the current branch.

## Install

```bash
npx skillstore add sickn33/git-pushing
```

## Metadata

- Status: approved
- Slug: sickn33-git-pushing
- Skillstore revision: r2
- Version status: missing
- Tree hash: 9e6e0206a086ad95fc834a3812020cc764ab896beec333d553663a8a48470cf6
- Author: sickn33
- GitHub username: sickn33
- License: MIT
- Repository: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/git-pushing
- Ref: 88a8e9a07f4c54ab105c1c41b6267c287146b07b
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands
- Quality score: 67
- Public page: https://skillstore.pages.dev/skills/sickn33-git-pushing
- Manifest: https://skillstore.pages.dev/api/skills/sickn33-git-pushing/manifest

## Capabilities

- Stages all unignored changes in the current repository.
- Creates a commit using a supplied message.
- Uses chore: update code when no message is supplied.
- Detects the currently checked-out branch.
- Pushes the branch to origin and sets upstream tracking.

## Use Cases

- Publish a Small Fix: Commit and push a completed fix from the current branch.
- Share Team Progress: Push a reviewed feature branch with a specific conventional commit message.
- Automate Routine Updates: Publish generated or maintenance changes through a consistent Git command sequence.

## Prompt Templates

### Push Current Work

```
Commit and push my current changes using the default message.
```

### Use a Commit Message

```
Commit and push all current changes with the message fix: correct login redirect.
```

### Publish a Feature Branch

```
Push this feature branch with the message feat: add account export.
```

### Complete a Reviewed Release Update

```
Commit and push the reviewed release changes with the message chore: prepare version 2.4.0.
```

## Limitations

- It stages every unignored change and cannot select individual files.
- It does not inspect diffs, run tests, or request confirmation.
- It requires Git, an origin remote, and valid push credentials.
- It stops when commits, hooks, authentication, or pushes fail.

## Best Practices

- Inspect Git status and the complete diff before invoking the skill.
- Ensure .gitignore excludes credentials, local configuration, and generated files.
- Provide a specific conventional commit message that describes the reviewed changes.

## Anti Patterns

- Do not run the skill with unrelated or unreviewed worktree changes.
- Do not use it when the current branch or origin remote is uncertain.
- Do not expect it to resolve hooks, conflicts, authentication, or branch protection failures.

## Security Audit

- Audited at: 2026-07-23T23:45:19.318\+00:00
- Summary: The five static alerts are false positives because they identify code fences, an interpreter declaration, and a hardcoded Git branch lookup. The workflow still has medium operational risk because it stages every unignored change and pushes to origin without review or confirmation.

## Stats

- Views: 124
- Downloads: 10
- Favorites: 0
- Popularity score: 0
